Salesforce

mTime (Magic xpi 4.14)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

mTime (Magic xpi 4.14)

Retrieves the time value in milliseconds from midnight to the current time.

Syntax:

mTime()

Parameter:

None

Returns:

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

Example:

mTime() 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:

mTime() – Time() * 1000

The Time data attribute does not support milliseconds.

See also:

Time

Reference
Attachment 
Attachment