Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8950

Re: Counting Hours

$
0
0

You will need a formula for each hour during the day.  Assuming you're using datetime field, it will look something like this, which is for 7 am:

 

Numbervar startHour := Hour({start datetime});

Numbervar endHour := Hour({end datetime});

 

if 7 >= startHour and 7<= endHour then 1 else 0

 

 

-Dell


Viewing all articles
Browse latest Browse all 8950

Trending Articles



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