07-29-2005, 07:59 PM
Psuedo code:
I have not included DST anywhere in the world. Therefore times may vary. I bet you didn't know Kathmandu is in an ODD timezone (GMT+5:45)?
>anarky
Code:
Display cities
Choose your city (this could be preset)
Find own timezone (also maybe preset)
Choose destination city
Find dest city timezone (Mine is in a database, but I am having some curious problems with that)
Calculate difference between own city and GMT, adjust time
Calculate difference betwen destination city and GMT, adjust time
I have not included DST anywhere in the world. Therefore times may vary. I bet you didn't know Kathmandu is in an ODD timezone (GMT+5:45)?
>anarky
Screwing with your reality since 1998.