Re: [PHP] Timezone and DST

2006-01-06 Thread M
Mark Steudel wrote: Hi All, I've got a little problem where our servers are in PST but the customer operates in Hawaii (-10 GMT). I believe I can just get the time for them by doing something like date("d H i", strtotime('now -2 hours') ); But here's the catch, how should I deal with day l

Re: [PHP] Timezone and DST

2006-01-05 Thread Chris Boget
I've got a little problem where our servers are in PST but the customer operates in Hawaii (-10 GMT). I believe I can just get the time for them by doing something like date("d H i", strtotime('now -2 hours') ); But here's the catch, how should I deal with day light savings ( DST) . In hawaii t

Re: [PHP] Timezone and DST

2006-01-05 Thread Mike Tuller
ment. > > -Original Message- > From: Mike Tuller [mailto:[EMAIL PROTECTED] > Sent: Thursday, January 05, 2006 11:02 AM > To: Mark Steudel > Cc: php-general@lists.php.net > Subject: Re: [PHP] Timezone and DST > > Are you just displaying the time, or is this for subm

RE: [PHP] Timezone and DST

2006-01-05 Thread Mark Steudel
Im just using it to set defaults on a QuickForm date element. -Original Message- From: Mike Tuller [mailto:[EMAIL PROTECTED] Sent: Thursday, January 05, 2006 11:02 AM To: Mark Steudel Cc: php-general@lists.php.net Subject: Re: [PHP] Timezone and DST Are you just displaying the time, or

Re: [PHP] Timezone and DST

2006-01-05 Thread Mike Tuller
Are you just displaying the time, or is this for submission in a database? On Jan 5, 2006, at 12:50 PM, Mark Steudel wrote: Hi All, I've got a little problem where our servers are in PST but the customer operates in Hawaii (-10 GMT). I believe I can just get the time for them by doing