Overthere
asked on
Sorting Date/Time when Different Time Zones
I have an internet application written in classic asp that records flight information and I need to be able to print out the itinerary in date/time order properly. If I have someone leaving from NY and flying to Australia, on the return flight, I need to see them in proper order. I could have the user enter the timezone as necessary, but then I'm needing to know how to properly sort these. I have a few instances where the first return flight has a later time (in that time zone) than the second flight in its current time zone. This is not ordered properly and I need assistance in how to get them entered so that I can sort properly.
Hard to put it into words, so I'm hoping someone can help.
TIA
Hard to put it into words, so I'm hoping someone can help.
TIA
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Will be giving that a try. Thx!
Open in new window
We want to key on the airport code and get back the time difference from UTC and DST. Since there are only 2 fields in the dictionary object, the key and item. We need to make our item into an array. You can read up on dictionary objects here http://www.w3schools.com/asp/asp_ref_dictionary.aspOpen in new window