Jump to content

Recommended Posts

Posted

This isn't exactly a clear cut thing irl. I mean the best way is knowing the map location then looking up it's time offset from zulu for that given date and time. I mean technically all you need to know is the map's longitude and do an Abs( longitude)/15 which would give you the mathematical offset from zulu. However irl countries and states within countries have timezones which are not calculable in this manner.

https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/World_Time_Zones_Map.png/1920px-World_Time_Zones_Map.png

 

Posted
1 hour ago, TJTAS said:

This isn't exactly a clear cut thing irl. I mean the best way is knowing the map location then looking up it's time offset from zulu for that given date and time. I mean technically all you need to know is the map's longitude and do an Abs( longitude)/15 which would give you the mathematical offset from zulu. However irl countries and states within countries have timezones which are not calculable in this manner.

https://upload.wikimedia.org/wikipedia/commons/thumb/8/88/World_Time_Zones_Map.png/1920px-World_Time_Zones_Map.png

 

Okay, it's just that in say, the F18, it gives you the option to see the time in Z or L, so therefore somewhere they've done the function for that and I wanted to know if there was a way of getting that?

I'll make my own lookup table for the maps.

Posted (edited)

I agree that this can only be approximated, and will give wrong results with some maps: timer.getTime() gives one time for the entire map, and that time is set in the weather panel. It is unclear which point that time refers to. The South Atlantic map (theoretically) spans three time zones (-3 .. -5), and it is nowhere clearly defined which reference time you set in that panel. So until ED provide a reference location (or better: set game time in UTC), this can't be resolved well and on some maps, your Zulu time can be two hours off or more. What would be perfect is if they provide accessor functions (maybe in their land table) to provide utc offset and (since they are related) and sundown and sunup for any map co-ordinates. Since there are 38 time zones (a number that should give everyone pause), I don't think that we'll have a simple solution for this any time soon.

Edited by cfrag
  • Like 1
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...