Salesforce

UTCTime (Magic xpa 2.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

UTCTime (Magic xpa 2.x)

Returns the current Coordinated Universal Time (UTC) time.

Syntax:

UTCTime()

Parameters:

None

Returns:

UTC Time

The function returns the current UTC time.

Examples:

If the system time is 12:30:00 and the time zone is set to +03:00 then UTCTime() returns 09:30:00.

Note:

The UTCTime() function is often used in an Init column. This will set the field to the current UTC time the first time the user sees the screen, and is also useful for setting timestamps for when a record was created or modified.

For an even more precise time, use the UTCmTime function.

See also:

Time

UTCDate

The Online and Rich Client Samples projects (program DT02 and RDT02)

Since version:

2.4

Reference
Attachment 
Attachment