brown2005 Posted February 16, 2007 Share Posted February 16, 2007 monthname(hits_date) = January how do i get Jan Quote Link to comment 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(); Quote Link to comment 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.