Jump to content

Implementing DST For Countries That Use It.


Vermillion

Recommended Posts

Hi guys, I decided to write to my own DateTime class mainly because the one PHP comes with doesn't do anything I want it to do.

I need to implement a way of using DST for countries that use it, but I myself live in a place where DST is never used, so it's hard for me, so I have a few questions, first some questions related to DST itself and then the ones in PHP so I can implement it.

 

* When does the DST enter in effect?

* When does it end?

* Is it the same for every year?

* Do all the countries that use DST move their clocks one hour ahead or the time that needs to be changed varies from place to place?

 

* How exactly can I get "The second Sunday of every march" with PHP?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.