date time error |
[eluser]Unknown[/eluser]
hello i have a problem with date & time when i add events, 1) when i select date and time from admin panel like 2012/06/26 22:00 when i click send querry. as output in admin panel show 10:00 AM 2012 06 27 (next day morring date time) so my events dont remove automatic, Code: FILE : Add.php
[eluser]InsiteFX[/eluser]
You can try setting the timezone to your timezone. Code: // Backup timezone and set to GMT More here: PHP Date In CI you can set it to gmt time in the ./application/config/config.php file.
[eluser]Unknown[/eluser]
Code: strtotime(date("Y-m-d H:i:s")); in this format if i added 17:00 in admin panel as out put show me 5:00 am if i add 5:00 curtime show 17:00 how to fix please help |
Welcome Guest, Not a member yet? Register Sign In |