TimeToNumber - spectrum_spatial - Latest

Spectrum Spatial Guide

Product type
Software
Portfolio
Locate
Product family
Spectrumâ„¢ software
Product
Spectrumâ„¢ software > Spatial > Spectrum Spatial
Version
Latest
ft:locale
en-US
Product name
Spectrum Technology Platform
ft:title
Spectrum Spatial Guide
Copyright
2025
First publish date
2007
ft:lastEdition
2025-03-07
ft:lastPublication
2025-03-07T10:28:48.112000

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.