dotolee Posted January 23, 2012 Share Posted January 23, 2012 hi there. can someone tell me how to get this to print out the real minutes instead of the month? echo date("M-d-Y H:m:s", mktime()); i've read http://www.sqlite.org/lang_datefunc.html but i can't seem to get it to work. Quote Link to comment https://forums.phpfreaks.com/topic/255618-newbie-problems-with-date/ Share on other sites More sharing options...
Pikachu2000 Posted January 23, 2012 Share Posted January 23, 2012 That's a php function, not a SQLite function. There is a list of the formatting string parameters in the php manual: date. You want 'M-d-Y H:i:s' Quote Link to comment https://forums.phpfreaks.com/topic/255618-newbie-problems-with-date/#findComment-1310425 Share on other sites More sharing options...
litebearer Posted January 23, 2012 Share Posted January 23, 2012 http://php.net/manual/en/datetime.format.php hint NOT m but i Quote Link to comment https://forums.phpfreaks.com/topic/255618-newbie-problems-with-date/#findComment-1310428 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.