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
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
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
// 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
* 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
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
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
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
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
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
10 matches
Mail list logo