lua-users home
lua-l archive

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


Thanks, I'll check it out. 

On Mon., Jun. 27, 2022, 9:05 p.m. Daurnimator, <quae@daurnimator.com> wrote:
On 28/6/22 09:56, Brent Tucker wrote:
> 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"

That looks RFC-3339 compliant, so use:
https://daurnimator.github.io/luatz/#parse.rfc_3339