Returns the current time in Coordinated Universal Time (UTC) to the nearest millisecond.
Get ( CurrentTimeUTCMilliseconds )
None
number, time
FileMaker Pro 13.0
Returns the current time without time zone adjustments in the form of the number of milliseconds since 1/1/0001. UTC time zone adjustments must be applied to return your local time.
•In client-server and peer-to-peer environments, this function evaluates the status of the client machine running the script (not the host machine).
Calculates the amount of time it takes to find and sort records as specified in the script.
Set Variable [$START ; Get ( CurrentTimeUTCMilliseconds )]
Go to Layout ["Invoices"]
Perform Find [Restore]
Sort Records [Restore; With dialog: Off]
Set Variable [$END ; Get ( CurrentTimeUTCMilliseconds )]
Show Custom Dialog ["Script Duration" ; GetAsTime ( $END - $START )]
Calculates the local time for the specified time zone. When the time in UTC is 08:43:55.304 and TimeAdjustment contains -7:
GetAsTime ( GetAsTimestamp ( Get ( CurrentTimeUTCMilliseconds ) / 1000 ) + ( Location::TimeAdjustment * 3600 ) )
returns 1:43:55.304 PM.