[erlang-questions] Working with dates.

jm jeffm@REDACTED
Mon Jul 16 04:08:25 CEST 2007


Julio César Carrascal Urquijo (MCTS) wrote:
> Hi,
> 
> Two quick questions on functionality that I couldn't find on the documentation:
> 
> 1) Are there functions in OTP to convert unix timestamp <--> the tuple
> format used in Erlang?

Just to avoid confusion do you mean

Mon Jul 16 12:04:31 EST 2007

or second since epoch?


> 2) Are there functions for adding dates in this format?

There's some stuff in calendar, erlang (module), and even timer, but I
don't think it does exactly what your after.

Jeff.



More information about the erlang-questions mailing list