Re: [PHP] Daylight Savings Time in PHP4

2007-01-18 Thread Andrew Kreps
On 1/18/07, mike caplin <[EMAIL PROTECTED]> wrote: Does anyone know if the change in Daylight Savings Time (March this year) affects PHP v4.x? I looked around www.php.net and all I could find was a reference to v5 (http://bugs.php.net/bug.php?id=35296). Is there a v4 release which is compatible

[PHP] Daylight Savings Time in PHP4

2007-01-18 Thread mike caplin
Does anyone know if the change in Daylight Savings Time (March this year) affects PHP v4.x? I looked around www.php.net and all I could find was a reference to v5 (http://bugs.php.net/bug.php?id=35296). Is there a v4 release which is compatible with the DST change? Or even a patch could be appl

Re: [PHP] DAYLIGHT SAVINGS TIME OR NOT

2004-07-20 Thread PHPDiscuss - PHP Newsgroups and mailing lists
You could also use the php date() function. date('I'); If you need it for a specific date, then date('I',$timestamp); Curt Zirzow wrote: > * Thus wrote Chirag Shukla: > > > > This function can be used to know whether it is Daylight Savings time or > > not for the given date. It may not be

Re: [PHP] DAYLIGHT SAVINGS TIME OR NOT

2004-07-14 Thread Chirag Shukla
// here is the date. We wont worry about the time. $processdate = "07/04/2004 14:45"; What about different formats like 07-04-2004 14:45:00 ...You have a good point, Curt. We could modify the code just a little bit for the same then. Instead of exploding with "/", we may opt for

Re: [PHP] DAYLIGHT SAVINGS TIME OR NOT

2004-07-13 Thread Curt Zirzow
* Thus wrote Chirag Shukla: > > This function can be used to know whether it is Daylight Savings time or > not for the given date. It may not be the most optimized program, but > may be helpful. > > If there is a modified code, please let me know. ok. > > > // here is the date. We w

[PHP] DAYLIGHT SAVINGS TIME OR NOT

2004-07-13 Thread Chirag Shukla
This function can be used to know whether it is Daylight Savings time or not for the given date. It may not be the most optimized program, but may be helpful. If there is a modified code, please let me know. Thank you. Sincerely, Chirag Shukla. // here is the date. We wont worry about t

RE: [PHP] daylight savings time ?

2003-04-01 Thread Don Read
On 02-Apr-2003 Heather P wrote: > Hello. > I use a forum which has the time as the coding (D M d, Y g:i a) how do I > add > an hour for daylight savings time ? I live in the uk and the time on the > forum is wrong. how do I change it ? Thanks > Assuming you wrote the scripts (rather than you

Re: [PHP] daylight savings time ?

2003-04-01 Thread Peter Houchin
my understanding it that PHP uses the time & date on your server ... so there for I'd be thinking that maybe the time &/or date on your server is wrong.. so update the clock on the server Heather P wrote: Hello. I use a forum which has the time as the coding (D M d, Y g:i a) how do I add an hou

[PHP] daylight savings time ?

2003-04-01 Thread Heather P
Hello. I use a forum which has the time as the coding (D M d, Y g:i a) how do I add an hour for daylight savings time ? I live in the uk and the time on the forum is wrong. how do I change it ? Thanks _ Overloaded with spam? With M

[PHP] daylight savings time

2001-03-30 Thread bill
How can I get my PHP/MySQL to recognize dates that are on daylight savings time? I have a mysql table with a date field (today would be 2001-03-30). I convert a date into a unix timetamp using $thisdaysec=mktime($somedate); Then, to find a particular date in the database I run a query: SELEC