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