17691 Posts in 4607 Topics by 2180 members
General Questions
SilverStripe Forums » General Questions » How do I get American formated dates?!!
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 737 Views |
-
How do I get American formated dates?!!

24 July 2009 at 7:09am
$date.nice give me dd/mmm/yyyy and I need mm/dd/yyyy. Any advice?! Thanks a bunch
-
Re: How do I get American formated dates?!!

24 July 2009 at 2:59pm
I thought there was an $Date.NiceUS format in 2.3 but looking through I can't find it. Perhaps try using $Date.Format(m/d/Y). Format() allows you to specify the exact format of the date.
| 737 Views | ||
|
Page:
1
|
Go to Top |


