lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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( "!*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.



Back and forth UTC dates in lua