RosettaCodeData/Task/Date-format/Run-BASIC/date-format.basic
2023-07-01 13:44:08 -04:00

5 lines
352 B
Text

'Display the current date in the formats of "2007-11-10" and "Sunday, November 10, 2007".
print date$("yyyy-mm-dd")
print date$("dddd");", "; 'return full day of the week (eg. Wednesday
print date$("mmmm");" "; 'return full month name (eg. March)
print date$("dd, yyyy") 'return day, year