Prev: Checking for the existence of a dynamically added style
Next: Inserting, updating, etc. for ListView with a custom data source
From: Cal Who on 3 Apr 2010 10:51 I found documentation for this way to format a date: endtime.ToString("dddd, MMM d yyyy") But I can't find an explanation of this method: <%#Eval("CreateDate", "{0:d}")%> The first on produces Saturday, Apr 3 2010 Note no comma after the 3? Can I make it add a comma? The second one produces: Friday, April 02, 2010 Can I supress the leading zero? Best for me would be in both cases: Friday, April 2, 2010 Can I do that? Thanks |