On a form, I wish to insert the current local date for a user where ever they happen to be. My server's time is set for GMT. I started out using Date(), but found that 4:00 pm in the Pacific time zone, this began returning tomorrow's date.
I replaced this with strftime(), thinking it was suppose to return the local date and time, it also shift one day at 4:00 pm. When I include the time in the strftime() output it clearly is 8 hours later.
What should I be using to obtain the current date (and time) where ever the user is located?