[erlang-questions] Current time in milliseconds
Mazen Harake
mazen.harake@REDACTED
Sun Dec 7 11:14:09 CET 2008
All three fields represent 1 single time down to Microsecs precision,
this means that Microsecs shows how many microseconds in the current
second and how many seconds into megaseconds...
megasecond is just a way to say 1,000,000 seconds.
/Mazen
Ahmed Ali wrote:
> 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 <ahmed.nawras@REDACTED> 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
>>
>>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
More information about the erlang-questions
mailing list