Well, I'm trying to coordinate certain events with real times. Specifically:
1) A train that departs on a schedule, (specifically every 15 minutes)
2) Changing something at midnight every day.
For 2, I have it mostly planned out, all I really need to figure out is how to calculate the time until midnight CST, and theres the problem.
When I use time2text proc, it seems to automatically convert the world.timeofday to CST. But when I try to calucate the time until a certain time, it's calculating in GMT.
Plus, if this game is hosted by someone in a diferent timezone, how will this be affected?
Sorry, I'm being a little vague here, I'm just a little confused. I could probably get something working, but I want a way that works everytime.
Mar 21 2008, 7:29 am