Welcome Guest, Not a member yet? Register   Sign In
Timezones
#1

[eluser]renownedmedia[/eluser]
I've been adding the following line to my entry point of time-sensitive applications before using CI:

Code:
putenv("TZ=America/Detroit");

I'm wondering two things, the first is should I be using this line in my applications or is there a better method, and also should I stick this in the index.php of CI or is there a better location?


Messages In This Thread
Timezones - by El Forum - 08-18-2009, 08:21 AM
Timezones - by El Forum - 08-18-2009, 08:38 AM
Timezones - by El Forum - 12-12-2009, 02:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB