TIMESTAMP
s = TIMESTAMP (filename)
Returns the file filename
last modified date and time as
a string. The returned string s
has the format “YYYY-MM-DD
hh:mm AM|PM”.
Example
' Create a file
open "timetest.txt" for output as #1
print #1, 1
close #1
' Get time stamp
print timestamp("timetest.txt") ' Output: 2023-09-03 11:36 AM
Date
If there is insufficient information on this page and you wish learn more about TIMESTAMP,
please send an email to smallbasic@gmail.com. You can help to improve information about
TIMESTAMP by submitting a pull request,
click View Source for details. Note, an offline language reference text file is also available - see the Download section.