In Transportation Management you pretty quick come into the question on how to handle times and time zone, since the business is global by nature.
So if a user in Europe looks into a Feright Booking that goes from the US-westcoast to Asia there is a challenge in picking the right way to define dates and times…
Very important: In TM we generally store dates and times as UTC time stamp, so it is first of all location and user indepent.
When it comes to the UI and hence the way the user want´s to see this times there is a user setting:
Basically you can define if the dates are shown in a
- fixed time zone
- either the one assigned to your user or
- specifically defined one
- if the local time of the location where the activity happens is used
In the last case the relevant time zone can change within the document, e.g. CET departure in Hamburg and EST time at port of arrival at the US east coast.
There is a similar settings for distances, but his is worth another posting…