Page 1 of 1

Time Stamp

Posted: Thu Jun 04, 2009 10:04 am
by DDastardly71
Does anybody have a function that can generate a timestamp in seconds and back to date format with a variable date reference?

example:

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)