Hello,
I've hit a brick wall with this project and I was hoping someone here could point me to the right direction. Here's what I want:
The user enters a time, say 9am, then enters the day of the week, say Monday.
Assuming we know the timezone the user is in, how can we work out what day and time the user has entered in GMT time?
Note this is for a weekly timetable so there is no date information like day, month, year so I guess mktime won't do the trick?
I supposed I would like to use something like mktime to work our the GMT time and weekday, but how does one use just time and weekday to perform date calculations?
Thanks
A.