Erlang Mailing Lists

Author Message

<  Erlang bugs mailing list  ~  localtime_to_universaltime(DistantFuture)

uwiger
Posted: Wed Sep 13, 2006 12:32 pm Reply with quote
User Joined: 03 Jul 2006 Posts: 604 Location: Sweden
1> erlang:localtime_to_universaltime({{2038,1,19},{3,14,7}},true).
{{2038,1,19},{1,14,7}}
2> erlang:localtime_to_universaltime({{2038,1,19},{3,14,8}},true).
{{1969,12,31},{23,59,59}}
3> erlang:localtime_to_universaltime({{2060,1,1},{12,0,0}},true).
{{1969,12,31},{23,59,59}}
4> os:getenv("TZ").
"MET"

It would seem as if the future for Erlang ends at
3:14:7 MET, Jan 19 2038.

BR,
Ulf W

(Courtesy Johan Tj
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum