Narcle
2009-10-13 18:42:34
Guess I should of announced this sooner but here's the reasons.
I firstly changed it to accommodate for reports.scar as no other function uses it to my knowledge. It has been in minutes for quite awhile so a more accurate time will be nice. This can be easily changed to a nice formatted time via MstoTime. (note it does return a string but with many options)
I firstly changed it to accommodate for reports.scar as no other function uses it to my knowledge. It has been in minutes for quite awhile so a more accurate time will be nice. This can be easily changed to a nice formatted time via MstoTime. (note it does return a string but with many options)
{*******************************************************************************
function MsToTime(MS, StrType: Integer): string;
By: ZephyrsFury, Nava2, and Rasta Magician
Description: Takes MS in milliseconds and outputs a string with hours, mins and
seconds. Different styles can be created with different StrType values:
Str Type
Time_Formal: 2 Hours, 47 Minutes and 28 Seconds
Time_Short: 02h, 47m, 28s
Time_Abbrev: 2 hr, 47 min, 28 sec
Time_Bare: 02:47:28
Time_FStop: 12.04.40
*******************************************************************************}