PHP would be better but whatever will work will do. If it can adjust the day according to the users's timeset, then it'll work. The one I was using (javascript) pulled the date fine until the time was offset to -6 (for example, then the day stayed the same at midnight instead of going back to the day before if the time was minus midnight. Does that make any sense?