Jump to content

Reformatting date output.


auto

Recommended Posts

I'm working on a new theme layout and need to reformat a date output fiield:  <?php echo $CustomFields->field('jr_eventdate', $listing, false, false); ?>

I would like to show the day number and 3 letter month as separate outputs.  Right now I get January 1, 2022.  I need to "1" for day and separately JAN so that the two can be styled separately.

Is this possible?

Link to comment
×
×
  • Create New...