Sorry if this is been asked before, but I need to convert a server timestamp in the form of "YYYY-MM-DD HH:MM:SS" to a different timezone.
I have the local GMT offset in a configuration variable, is there an easy way to maybe convert the server timestamp to GMT, then apply the local offset to the GMT timestamp and arrive at a localized version of the timestamp? How would I code that?
Or am I making this too hard?
Thanks,
Chuck
I have the local GMT offset in a configuration variable, is there an easy way to maybe convert the server timestamp to GMT, then apply the local offset to the GMT timestamp and arrive at a localized version of the timestamp? How would I code that?
Or am I making this too hard?
Thanks,
Chuck