Salesforce

mTVal (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

mTVal (Magic xpa 3.x)

Converts a time value in milliseconds from an Alpha string to a numeric value.

Syntax:

mTVal(string,picture)

Parameters:

string – An Alpha string containing a time value, for example, 14:30:00.123

picture – The picture format for the Alpha string. For a full description, see pictures.

Returns:

A numeric value displaying the elapsed time in milliseconds.

Example:

mTVal('14:30:21.123','HH:MM:SS') returns the numeric value 52220999, the number of milliseconds from midnight to 14:30:21.123 (2:30:21.123 PM).

Note:

The Time data attribute does not support milliseconds.

See also:

The Online and Rich Client Samples projects (program CV08 and RCV08)

Reference
Attachment 
Attachment