Syntax
date()
Description
The date() function returns the current date and time as a 24-character string in the format:
Sun Sep 16 02:00:52 1973
The date() function is also equivalent to the MSL statement:
Example
today=date()
println("The date is: ", today)
println("The date is: ", date())
The date is: Thu Dec 1 20:38:28 2022
The date is: Thu Dec 1 20:38:28 2022