Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

sort by time value in ssrs

$
0
0

Hi All,

I have to display time value in "08:30:00 AM" format for that i ma using = Format( CDate(Fields!DefinitionTimeFrom.Value) , "hh:mm:ss tt") which is giving correct values but when i am trying to sort the data in the report it is actually following like

01:20:00 PM

02:15:00 PM

08:15:00 AM

08:20:00 AM 

but i am supposed to sort by AM and then PM like below:

08:15:00 AM

08:20:00 AM 

01:20:00 PM

02:15:00 PM

Please help me.

Thanks,

Sam


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>