GetUTC
- Last UpdatedOct 29, 2026
- 1 minute read
This function gets the current Coordinated Universal Time (UTC) on the local computer.
|
Function |
Group |
Execution |
String Exp. |
Windows |
Windows Embedded |
IoT View |
Thin Clients |
Mobile Access |
|---|---|---|---|---|---|---|---|---|
|
GetUTC |
Date and Time |
Synchronous |
Yes |
Supported |
Supported |
Supported |
Supported |
Supported |
Syntax
GetUTC()
This function has no parameters.
Returned value
This function returns a string that contains the current Coordinated Universal Time (UTC) on the local computer, depending on where the function is called from (that is, the project runtime server or the project thin client). The date is formatted according to the current date format; for more information, see About the date format and how to change it. The time is formatted as HH:MM:SS.
If this function is called in a project screen on Mobile Access, it is executed using the system clock and date/time settings on the computer that hosts the project runtime server.