Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

Problem with timeFormat

Hi...

I have a line in index.html that reads...

<span class="datetime">{$setDateTimeFormat "English" "dd MMM, yyyy" "hh':'mm"$}{$x.fileddate$}</span></p>

I think this should display date and time something like...

06 Dec, 2001 03:27 PM

...but all I see is the date -- no time.

Am I just overlooking something obvious? Please say yes, but be gentle.  ;-)

Michael O'Henly
Thursday, December 06, 2001

add {$ x.filedTime $}

Joel Spolsky
Friday, December 07, 2001

Thank you! This did the trick.

May I suggest that you add this to the documentation where setDateTimeFormat is discussed?

Michael O'Henly
Friday, December 07, 2001

Good idea.

Joel Spolsky
Friday, December 07, 2001

*  Recent Topics

*  Fog Creek Home