Salesforce

UTCmTime (Magic xpa 4.x)

« Go Back

Information

 
Approval Process StatusPublished
Objective
Description

UTCmTime (Magic xpa 4.x)

Retrieves the current time value in milliseconds from midnight to the current Coordinated Universal Time (UTC) time.

Syntax:

UTCmTime()

Parameters:

None

Returns:

A numeric value displaying the current UTC time in milliseconds that has elapsed from midnight to the current time.

Example:

UTCmTime() evaluated at 02:30:21.5 AM returns the value 9021500, the number of milliseconds from midnight to 02:30:21.5 AM.

Note:

This is generally used for timestamps.

If you want to fetch just the milliseconds, you can use the expression:
UTCmTime() - UTCTime() * 1000

The Time data attribute does not support milliseconds.

See also:

mTime

UTCTime

UTCDate

The Online and Rich Client Samples projects (program CV07, DT03, RCV07 and RDT03)

Since version:

2.4

Reference
TitleUTCmTime (Magic xpa 4.x)
URL NameUTCmTime-xpa-4x