[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4149: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3027)
Pete's QBASIC Site • Time Stamp
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)