jwk811 Posted December 16, 2006 Share Posted December 16, 2006 how can i make the NOW(); function be in my time and also not in military time? do i have to use the date(); function instead? Link to comment https://forums.phpfreaks.com/topic/30840-now-function/ Share on other sites More sharing options...
fert Posted December 16, 2006 Share Posted December 16, 2006 I think you do have to use date. Link to comment https://forums.phpfreaks.com/topic/30840-now-function/#findComment-142225 Share on other sites More sharing options...
bljepp69 Posted December 16, 2006 Share Posted December 16, 2006 If you can't change the time of the mySQL server, try using the CONVERT_TZ() function.CONVERT_TZ(NOW(),from_tz,to_tz) Link to comment https://forums.phpfreaks.com/topic/30840-now-function/#findComment-142252 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.