This article applies to:
E-Prime 3.0
E-Prime 2.0
This item was introduced in E-Prime 2.0 (2.0.1.93).
Detail
This feature allows for accessing the current system time in Coordinated Universal Time (UTC) format via the following global script functions:
The functions return their values as a Date unless suffixed by '$', in which case, they return their values as a String.
- DateUtc
- DateUtc$
- TimeUtc
- TimeUtc$
- NowUtc
- NowUtc$
' Example uses of the UTC functions for copy and paste into your script
Display.MsgBox NowUtc
Dim theNow As Date
theNow = NowUtc
Debug.Print theNow
NOTE: E-Prime 2.0 can use MsgBox NowUtc instead of Display.MsgBox (see E-BASIC: Display.MsgBox usage in E-Prime 3.0 [23633]).
For more information view the E-Prime Command Reference for specifics involving E-Basic (https://pstnet.com/ecr).
Comments
0 comments
Please sign in to leave a comment.