SIVA

SIVA

  • NA
  • 742
  • 700.4k

How to customize & show the timing in GridView

Apr 10 2012 9:45 AM
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)