vendredi 24 février 2017

Get wrong timezoneOffset in AIR/Flex/AS3

in Germany I get on my PC:

new Date().getTimezoneOffset(); //-60

new Date().timezoneOffset //-60

but as my PC shows me correctly I am in UTC+01:00 as normal for Berlin, Amsterdam, ...

Can I fix this?

Kind regards

Christian

Aucun commentaire:

Enregistrer un commentaire