[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

TimeStampToMSecs

Converts a timestamp to a number of milliseconds.

Declaration

Source position: datih.inc line 98

function TimeStampToMSecs(

  const TimeStamp: TTimeStamp

):comp;

Description

TimeStampToMSecsconverts TimeStampto the number of seconds since 1/1/0001.

Use TTimeStampvariables if you need to keep very precise track of time.

For an example, see MSecsToTimeStamp.

Errors

None.

See also

MSecsToTimeStamp

  

Convert a number of milliseconds to a TDateTimevalue.

TimeStampToDateTime

  

Convert a TimeStamp value to a TDateTimevalue.