Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20518

DateTime SWQL Question

$
0
0

I need help converting this to SWQL : This is how far i got.....

 

convert(varchar(10),(DATEDIFF(HH,0,GETDATE()-MAX(Events.EventTime))%24 ))+' Hours '


This is how far i got.....


ToString(HourDiff(GETDATE(),MAX(Events.EventTime))%24)+' Hours '


The % 24 is giving me the issue, i guess that function doesn't exist in SWQL unless it does and i need to know the equivalent any help would be awesome!


Viewing all articles
Browse latest Browse all 20518

Trending Articles



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