CodeIgniter Forums
Help! gmt_to_local, how to identify the daylight saving time(DST)? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Help! gmt_to_local, how to identify the daylight saving time(DST)? (/showthread.php?tid=23682)



Help! gmt_to_local, how to identify the daylight saving time(DST)? - El Forum - 10-19-2009

[eluser]mindprojects[/eluser]
I've seen that the "gmt_to_local" function get an optional third parameter called "Daylight saving time".
The problem is : How it is possible to know if the daylight saving is set to TRUE or FALSE?
Do i need to set an option for the user into the settings panel to specify if the daylight saving is TRUE or FALSE?

Thanks in advance