[erlang-questions] parsing dates
Anders Nygren
anders.nygren@REDACTED
Wed Dec 14 23:08:36 CET 2011
Is this to primitive?
> Date="2008-06-30T00:00:00.000Z".
"2008-06-30T00:00:00.000Z"
> io_lib:fread("~d-~d-~dT~d:~d:~d.~dZ",Date).
{ok,[2008,6,30,0,0,0,0],[]}
/Anders
On Wed, Dec 14, 2011 at 3:18 PM, Joel Reymont <joelr1@REDACTED> wrote:
> Is there a function somewhere to parse a date like this:
>
> 2008-06-30T00:00:00.000Z
>
> Thanks, Joel
>
> ---
> Hardcore embedded Linux development
> http://www.linkedin.com/in/joelreymont
> Device drivers, firmware and debugging
>
>
>
>
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
More information about the erlang-questions
mailing list