[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Back and forth UTC dates
- From: Javier Mr <javiersdevmail@...>
- Date: Tue, 28 Mar 2017 10:32:56 +0000 (UTC)
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.