date

Returns the current date as a string in the format DD-MMM-YYYY.

Syntax

R = date()

Outputs

R
Current date is represented as a string in the format DD-MMM-YYYY.
MMM is the the abbreviated month name, for example "Jan", "Feb", etc.

Example

date
R = 10-Jan-2015