TODAY Function (Date)
Returns the current date set in the operating system.
Date := TODAY
Property Value/Return Value
The current date defined by the operating system.
You can only use the TODAY function to retrieve the current date from the operating system. You cannot use it to set the date in the operating system.
This example shows how to use the TODAY function. This example requires that you create the following text constant in the C/AL Globals window.
|Text Constant||ENU Value|
'The current date is: %1'
The message window could display the following:
The current date is: 05/27/08