Returns the current date set in the operating system.
Property Value/Return Value
Type: date
The current date defined by the operating system.
Remarks
Example
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 |
Text000
|
'The current date is: %1'
|
|
Copy Code |
MESSAGE(Text000, TODAY);
|
The message window could display the following:
The current date is: 05/27/08
See Also