7
Answers

How to customize & show the timing in GridView

Photo of SIVA

SIVA

13y
1.8k
1
Dear All,

My database will return the time in the format of 24hrs as follows.

2012-04-10T21:30:00

But i need to show only timing in GridView as follows 

 Retrieving Format Required format 
2012-04-10T21:30:00 9:30PM 
2012-04-10T09:30:00 9:30AM

I need to extract only timing from this & i need to show in GridView as specified format.

How can i achieve this?

Answers (7)