[erlang-questions] Current time in milliseconds

Ahmed Ali <>
Sat Dec 6 15:46:01 CET 2008


Hi,

I found now() function which returns {MegaSecs, Secs, Microsecs}. Now
the next question is what is MegaSecs? and is Microsecs value is the
number of microseconds in this second or is it also since zero hour
(00:00 GMT, January 1, 1970)?

Best regards,
Ahmed

On Sat, Dec 6, 2008 at 6:31 PM, Ahmed Ali <> wrote:
> Hi List,
>
> I'd like to get the current time in milliseconds. I've been looking
> around but couldn't find a way to do this in Erlang. Can anyone please
> help?
>
> Best regards,
>
> Ahmed
>



More information about the erlang-questions mailing list