Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with time shift formula using MINIMUM for group 1

Status
Not open for further replies.

elsenorjose

Technical User
Oct 29, 2003
684
US
Hello all,

I need to shift the datetime portion of this formula but I can't find a good example in the CR help file. Can someone please assist? I am using CR XI.

Code:
minimum({usrTask_ALL.StartDateTimeUTC},{usrTask_ALL.TaskName})

Basically I want the first occurrence of the Task Name based on the StartDateTimeUTC but with the StartDateTimeUTC shifted like this:

Code:
shiftdatetime({usrTask_ALL.StartDateTimeUTC},",0",",720")
 
I think you can just plug your first formula into the second one instead of the datetime field.

-LB
 
Thanks LB. I had tried just inserting it the other way around, putting the shifted datetime into the first formula. Your solution is working perfectly.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top