[erlang-questions] odd now() behaviour
Zoltan Lajos Kis
Tue Aug 11 07:39:41 CEST 2009
Check the +c emulator flag and its description:
> I am seeing an odd behavior with now() on my laptop running ubuntu 8.04
> I had a running erlang shell when I closed the laptop, and the machine
> into suspend mode. The next day when the laptop came out of suspend mode,
> erlang shell,
> calendar:local_time(). returned the correct date/time while
> calendar:now_to_local_time(now()). printed out the time which was
> by the same amount of time as the laptop was suspended.
> Is this a bug or the expected behaviour of now()?
More information about the erlang-questions