lua-users home
lua-l archive

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

Brent Tucker <> wrote:
(28/06/2022 00:56)

>Do Lua users have a preferred library for date/time conversion? I'm looking
>for a conversion from ISO 8601 to Unix epoch timestamp .
>Example: "2019-01-30T13:06:36.769273-07:00"

You could raid one I wrote for the LuaTools system I recently announced.

It's in C code, and is guaranteed to work for any 'UNIX second' in the Gregorian calendar, past or future.