Comparing 2 Date filters but clearing the time stamp
Hi,
I wonder if someone have run into this and potentially found a work around:
We are trying to setup a project level report to compare 2 dates with one another. For example, we want to check if Date 1 is greater than Date 2.
The issue we run into is that every date in Workfront has a timestamp attached to it. So for example, if the time on the date is after 5PM (I think this is done based on the WF instance time zone vs user time zone), Workfront will assume the date to compare falls into the next date. For example, if the actual completion date is 4/29/25 7:15PM, when comparing the date is seen as 4/30/25.
To solve this, we tried a few ways:
1. We created 2 custom fields for the 2 dates we tried to compare and within the formula we included CLEARTIME function. That did not seem to work.
2. And similar to #1, instead of the custom fields, we used the CLEARTIME function within the filter itself, also result were not expected.
A typical use case would be, I want to see if the actualCompletionDate is after the plannedCompletionDate of the task. If the planned completion date is eg.4/29/24 1PM, and the actual completion date was 4/29/24 2PM, the result is the task would be late. So time for us in this case should not be a factor we want to consider.
Is there a different way to approach this?
What factors are at play with the timestamp (eg. system time zone, project time zone, user time zone)?