How can I format a date to be MMM/DD/YYY (Sept 25 2012)?

Folks in different countries use different date formats (m/d/y or d/m/y).

The simple solution to this (which also makes things clearer to customers I think) is to format it at:

MMM/D/YYY: Sep 25, 2012

I played around with the %m (%M %mmm %month) but couldn't find a solution.

  1. Where do you mean? In the email templates? Which one?

  2. Yes, email templates, specifically the Billing Reminder ( but I suspect it applies to all the email templates)

  3. Then you're looking for the Smarty syntax reference for the date format.

    I think you want something like this:

    {$invoice.billingDatetime|date_format:"%b %e, %Y"}
    
  4. Dean closed this discussion on 23 Jan, 2013 05:29 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions