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

Convert the number 13.50 to 1:30pm

$
0
0

I have a query that pulls an integer from a field for the start time of a session.

for example: The data is stored as 810, so I divide this by 60 and get 13.5, which is 1:30pm

How can I get the data to display as 1:30pm?

I've already done the first bit to get it to 13.5 (see below), but need to format further

SELECT     tblAppointments.fldAppStart/60 AS StartTime

Thanks


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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