
December 5th, 2003, 01:04 PM
|
|
Registered User
|
|
Join Date: Oct 2003
Location: chicago, il
Posts: 29
Time spent in forums: 1 h 16 m 34 sec
Reputation Power: 0
|
|
|
adjusting for local time
This calendar program is great, and I'm using it for my educational site; however, I am in CST and mktime does GMT, and thus the "today's day" moves 6 hours too soon.
I've tried changing (date("L", mktime(0,0,0,$currMonth,1,$currYear)))
to (date("L", mktime(-6,0,0,$currMonth,1,$currYear)))
but that messes up the day the first of the month falls on part of the program.
Any suggestions you have are greatly appreciated.
|