RosettaCodeData/Task/System-time/True-BASIC/system-time.basic

8 lines
202 B
Plaintext

PRINT DATE$
! returns system date in format: “YYYYMMDD”.
! Here YYYY is the year, MM is the month number, and DD is the day number.
PRINT TIME$
! returns system time in format: “HH:MM:SS”.
END