Retrieves the current time from the operating system.
Property Value/Return Value
Type: Time
The current time.
Remarks
Example
This example requires that you create the following
text constant in the C/AL Globals window.
Text constant name |
ENU Value |
Text000
|
The current system time is %1.
|
|
Copy Code |
MESSAGE(Text000, TIME);
|
On a computer with the regional format set to English
(United States), the message window could display the
following:
The current system time is 11:15:46 AM.
See Also