need date format in "dd/mm/yyyy hh:mm" [modified]
-
hi. currently i m using asp.net 2.0... i need the date format in gridview as "dd/mm/yyyy hh:mm" Note : i dont need seconds. time should be in 24hours format help me plz
modified on Thursday, February 18, 2010 7:27 AM
-
AFAIK there is no support for tht format so , convert the date time format into string and do string manipulation..!
LatestArticle :Log4Net Why Do Some People Forget To Mark as Answer .If It Helps.
-
hi. currently i m using asp.net 2.0... i need the date format in gridview as "dd/mm/yyyy hh:mm" Note : i dont need seconds. time should be in 24hours format help me plz
modified on Thursday, February 18, 2010 7:27 AM
hi, Use DataFormatString property in gridview
Farogh Haider Web developer
-
hi, Use DataFormatString property in gridview
Farogh Haider Web developer
-
i have applied all types of DataFormatString property in gridview. but i cant get what i expect. help me plz
Your format should be dd/MM/yyyy HH:mm Check out MSDN[^] for more details on the format strings available.
If you have knowledge, let others light their candles at it. Margaret Fuller (1810 - 1850) [My Articles] [My Website]