Hi,
I'm having a little bit of trouble converting dates in UTC to timestamps and back to dates.
I obtain the ITC timestamp as os.time( os.date( "!*t" ) ); back when converting it back to date doesn't matter is I use "!*t" or "*t"; I always get the hour wrong, either one hour less or one hour more.
I link the SO question which I have post.
Regards.
Javier
| | Back and forth UTC dates in lua I'm having problems converting a lua date to a timestamp and then obtaining back the original date from it. ... | | | |