DATEFMT

SmallBASIC syntax groups: 


Date function DATEFMT


10
20  DATEFMT (format, dmy| (d,m,y)| julian_date)
30
Returns formatted date string.


See examples


If there is insufficient information on this page and you wish learn more about DATEFMT, please send an email to smallbasic@gmail.com. You can help to improve information about DATEFMT by submitting an article using the comments link below. Note, an offline language reference text file is now avialable – see the Download section.

Format:

D one or two digits of Day
DD 2-digit day
DDD 3-char day name
DDDD full day name
M 1 or 2 digits of month
MM 2-digit month
MMM 3-char month name
MMMM full month name
YY 2-digit year (2K)
YYYY 4-digit year

PRINT DATEFMT("ddd dd, mm/yy", "23/11/2001")
REM prints "Fri 23, 11/01"