views:

18

answers:

1

Okay, so I have a custom date field set up as 'm/d/Y H:i:s' and I'd like to echo that as 'M j'. How do I do this?

+2  A: 

if it stored in the format m/d/Y H:i:s, then you can do this wherever the date is echoed in your template:

echo date('M j',strtotime($custom_date));
GSto