B Bobby Edward Nov 13, 2008 #1 What is the formatstring for mm/dd/yy (gridview column)? I always want it to be 6 digits. Thanks.
S Spider Nov 14, 2008 #2 string temp = DateTime. Today.ToString("MM/dd/yy", DateTimeFormatInfo.InvariantInfo); Christiano Donke said: you may convert the column into a template field and format de bind... <asp:label (...) text='<%# format(Eval("Date"),"MM/dd/yy")%>' /> probably there are better ways to do this... but it still works... Click to expand...
string temp = DateTime. Today.ToString("MM/dd/yy", DateTimeFormatInfo.InvariantInfo); Christiano Donke said: you may convert the column into a template field and format de bind... <asp:label (...) text='<%# format(Eval("Date"),"MM/dd/yy")%>' /> probably there are better ways to do this... but it still works... Click to expand...
B Bobby Edward Nov 14, 2008 #3 In the US and some parts of Canada, Kenya and the Philippines, that date would be interpreted as 3 February 2004. Click to expand... True. But this website is for US people only.
In the US and some parts of Canada, Kenya and the Philippines, that date would be interpreted as 3 February 2004. Click to expand... True. But this website is for US people only.
B Bobby Edward Nov 15, 2008 #4 Mark Rae said: And US people aren't interested in Y2k compliance - fair enough... Click to expand... LOL good one! The dates will be only from 2008 forward. It's ok. Thanks.
Mark Rae said: And US people aren't interested in Y2k compliance - fair enough... Click to expand... LOL good one! The dates will be only from 2008 forward. It's ok. Thanks.