Salesforce

mTime (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

mTime (Magic xpa 4.x)

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

Syntax:

mTime()

Parameters:

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

UTCmTime

How Do I Retrieve the Current Time Using Milliseconds Precision?

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

Reference
Attachment 
Attachment