ajuste de horario de verano [cerrado]

i am really aware about daylight saving ,

just couple of weeks back only, i thinking about the daylight saving,

How to set date and time when Daylight start and how much we hour we should add and how much

hours we subtract and when should we do this,

What are that EDT, EST and all,

i am totally struck with this. what are formula behind in this?

is there any simple explanation there,

Why india does not have DST,

is there any connection with word map for day light saving.

preguntado el 27 de agosto de 11 a las 17:08

What did you consult to research this? Even Wikipedia could have answered all these questions. -

but i would expect something diff from wiki, that would be appriciate -

1 Respuestas

There isn't a formula. Different countries implement it as per their own requirements.

Use a look up table to deal with it. Better yet, don't. Any quarter-decent date-time library will handle it for you.

For example, since you have tagged this perl, Ver el DateTime module. Specifically the is_dst method.


Returns a boolean indicating whether or not the datetime object is currently in Daylight Saving Time or not.

Respondido 27 ago 11, 21:08

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.