Hi all,
Is it possible to manipulate the server time? I've got a postcard website using PHP, when the card recipient views the card, an e-mail is sent to the sender to let him know.
My host service is in one time zone (US CST), but I'm in another time zone (US PST). So this
$sc_lang['date_format'] = '%d %B %Y at %X %Z';
$date = strftime($sc_lang['date_format']);
$sc_lang['received'] = "[to] picked it up on [date].";
sends me back a message with Date, Month, Year at Time CST. How can I take the CST time and convert it to PST?
Ideally I thought I could get a fxn to take the server time and subtract 2 hours. Then I would use PST instead of %Z. However, being a newb at PHP and programming, I don't have any idea.
Any help, please? Thanks in advance.