[erlang-questions] Unixtime in Erlang
Motiejus Jakštys
desired.mta@REDACTED
Thu Jan 24 15:20:15 CET 2013
1> now().
{1359,37050,565742}
Rest should be easy.
$ date +%s
1359037050
os:timestamp() is a slightly faster version of erlang:now().
On Thu, Jan 24, 2013 at 2:16 PM, Schneider <js@REDACTED> wrote:
> Hi List,
> is there a build-in way to get the unixtime of a given Date (all I'm looking
> for is now()),
> or do I have to use my own conversion method every time?
>
> bg,
> Johannes
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
--
Motiejus Jakštys
More information about the erlang-questions
mailing list