CommandsdateOn this pagedate date () The date function returns a string containing the current date. The formatting of dates depends on your operating system and on your preferences entered in the Regional Settings control panel. Examples Print date() // prints Mon, Mar 15, 1993 See Also Secs2Date, Secs2Time, time