• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
listing news and events problem

#4
[eluser]jmadsen[/eluser]
so follow the link vitoco posted: http://php.net/manual/en/function.date.php

and put the parameters in the format that match what you are after.


Code:
$date = '2011-01-01' ;
echo date('M Y' , strtotime( $date ) );

After 173 posts, you should start to make an effort to look some things up on your own and try them before calling for help.


Messages In This Thread
listing news and events problem - by El Forum - 06-17-2011, 05:32 AM
listing news and events problem - by El Forum - 06-17-2011, 01:31 PM
listing news and events problem - by El Forum - 06-20-2011, 11:34 PM
listing news and events problem - by El Forum - 06-20-2011, 11:45 PM
listing news and events problem - by El Forum - 06-20-2011, 11:49 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.