Salesforce

UTCmTime (Magic xpi 4.14)

« Go Back

Information

 
Approval Process StatusPublished
Objective
Description

UTCmTime (Magic xpi 4.14)

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, UTCDate, UTCTime

Reference
TitleUTCmTime (Magic xpi 4.14)
URL NameUTCmTime-xpi-4x