brown2005 Posted February 16, 2007 Share Posted February 16, 2007 monthname(hits_date) = January how do i get Jan Link to comment https://forums.phpfreaks.com/topic/38777-monthnamehits_date/ Share on other sites More sharing options...
Jessica Posted February 16, 2007 Share Posted February 16, 2007 That's not a PHP function. If hits_date is a date or datetime field from mysql, you'd use strtotime() to make it a timestamp. Then you use date() to format it. If it's already a timestamp, use date(); Link to comment https://forums.phpfreaks.com/topic/38777-monthnamehits_date/#findComment-186335 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.