datetime - How to set daylight saving to off in php -


I've got the code for this line which sets the daylight saving "on" is it "off" // Is Daylight Saving On? $ Rcmail_config ['dst_active'] = (Bull) date ('I');

date ('I') (this is capital Letter 1 is in DST when it returns 1.

If it is returning 0 instead of 1 and the time zone in question is not in DST , then you have used the wrong time or The time zone data is old.

If you can, the result must be a call on the object, if it is not, then your time zone data is old, it is sometimes done at the server level Please make sure that the time zone database of the server is up to date. PHP Sometimes it also includes its time zone data file, so you may actually need to update PHP instead.

Comments