21309 Posts in 5738 Topics by 2603 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 523 Views |
-
Better way to use date class?

1 December 2010 at 11:11am
There has to be a better way to print a date like this, Oct 31, 2010 than this:
$Date.Format(M d), $Date.Format(Y)
If I use:$Date.Format(M d, Y)
SS prints something like Oct 31. No year.Any Ideas?
Chris.b
-
Re: Better way to use date class?

1 December 2010 at 11:55am
Sadly this is a current limitation of the templating engine. commas indicate separate arguments and I'm pretty sure you cannot use quotes around the string or even escape it. Allowing $Date.Format("M, d, y") with quote marks would be a huge improvement to ssviewer.
| 523 Views | ||
|
Page:
1
|
Go to Top |


