jbrill Posted July 10, 2007 Share Posted July 10, 2007 i want the variable $currenttime to get the current time so i can use it to store in the data base. would like it to display hour:minute.... how do i do this i know its simple.... Link to comment https://forums.phpfreaks.com/topic/59214-solved-storing-time-in-php/ Share on other sites More sharing options...
suma237 Posted July 10, 2007 Share Posted July 10, 2007 $currenttime=date("H:i:s"); echo "$currenttime"; Link to comment https://forums.phpfreaks.com/topic/59214-solved-storing-time-in-php/#findComment-294144 Share on other sites More sharing options...
gevo12321 Posted July 10, 2007 Share Posted July 10, 2007 question which timezone is the time in? Link to comment https://forums.phpfreaks.com/topic/59214-solved-storing-time-in-php/#findComment-294148 Share on other sites More sharing options...
jbrill Posted July 10, 2007 Author Share Posted July 10, 2007 vancouver, solved! Link to comment https://forums.phpfreaks.com/topic/59214-solved-storing-time-in-php/#findComment-294150 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.