TimeToNumber

Description

Converts a time into a number.

Syntax

TimeToNumber ( time )

Arguments

time is a time.

Example

TimeToNumber(StringToTime('10:50:30 AM', 'hh:mm:ss tt'))

Returns 1050300000000

Remarks

TimeToNumber converts a time value (time) into a 13-digit integer representation of the time as hhmmssfffffff.

TimeToNumber works with both Time and DateTime values.