Icon MSecondOf

Unit: Internal

Available In: Client and Server Applications

function MSecondOf(Value: DateTime; UTC: Boolean=False): Integer

The MSecondOf function returns the millisecond number of the input parameter in local or UTC time. The return value is an Integer value between 0 and 59.

Examples

X := MSecondOf(Time);  // X is 247 (assuming a time of 12:10:20.247 PM)
Image