jd2007 Posted October 4, 2007 Share Posted October 4, 2007 Code: <?php echo $now = strftime("%Y-%m-%d %I:%M:%S"); ?> i get this: 2007-04-02 02:25:40 the 04 should actually be 10, its October...why is it showing 04 which April ? Link to comment https://forums.phpfreaks.com/topic/71784-why-does-strftime-giving-me-the-wrong-month/ Share on other sites More sharing options...
heckenschutze Posted October 4, 2007 Share Posted October 4, 2007 Because the servers clock is probably wrong. Link to comment https://forums.phpfreaks.com/topic/71784-why-does-strftime-giving-me-the-wrong-month/#findComment-361491 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.