I am trying to run a Quarterly Query using the date format m/dd/yyyy hh/mm/ss am/pm. I have events that start at the end of the quarter and run into the next quarter and I need these separated. I need the query to start at 12:00:00am on the first day of the query and end at 11:59:59 on the last day of the quarter. I am trying to determine the amount of hours have elapsed per event within that quarter. Below are the Functions I am using.
To determine the Quarter I Want I am using-------------Quarter: DatePart("q",[BeginTime],[EndTime])
to determine the Duration of Event I am Using-----------Duration: ((Round((DateDiff("n",[Begintime],[EndTime])/60),2)))
Thank you,
Chris