TIME Function (Time)
Gets the current time from the operating system.
Time := TIME
Property Value/Return Value
The current time.
You can only use the TIME function to retrieve the time from the operating system. You cannot use it to set the time in the operating system.
This example requires that you create the following text constant in the C/AL Globals window.
|Text000||The current system time is %1.|
On a computer that has the regional format set to English (United States), the message window could display the following:
The current system time is 11:15:46 AM.