Time Stamp

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
Posts: 22
Joined: Fri Oct 17, 2008 6:56 pm
Location: U.S.A.

Time Stamp

Post by DDastardly71 » Thu Jun 04, 2009 10:04 am

Does anybody have a function that can generate a timestamp in seconds and back to date format with a variable date reference?


seconds& = TimeStamp&(Month%, Day%, Year%, Hour%, Minutes%, Seconds%)
with a variable date of 1-1-1970

..and back to date format

dateformat$ = Seconds2DateFormat$(seconds&)
(i.e. mm/dd/yyyy hh:mm:ss)

Post Reply