[erlang-questions] erlang:localtime_to_universaltime/2 work unexpect?

Bengt Kleberg <>
Fri May 9 07:12:07 CEST 2008


Greetings,

Could you please try
calendar:local_time_to_universal_time_dst/1
and see if the phenomenon remains.

According to the documentation
"Use local_time_to_universal_time_dst/1 instead, as it gives a more
correct and complete result."


bengt

On Fri, 2008-05-09 at 12:21 +0800, 成立涛 wrote:
> {{1977, 7, 10}, {10, 20, 03}}, 
> {{1978, 7, 10}, {10, 20, 03}}, 
> {{1997, 7, 10}, {10, 20, 03}}, 
> {{1999, 7, 10}, {10, 20, 3}}, 
> {{2000, 7, 10}, {10, 20, 3}}, 
> {{2008, 5, 9}, {10, 20, 03}}]).
> 




More information about the erlang-questions mailing list