How to sum minutes in a datetime field using Groovy?
**This post was created as part of a How to Service Request (SR)
Release:
22A
Summary of the question:
We are writing a groovy script and need to sum the minutes in a datetime field.
The script has this format:
def NewDateTime = CreationDate
NewDateTime = NewDateTime + 2 minutes // "2 minutes" is a generic argument to this example.
Can anyone help us with a function to do this?
Supporting Documents if any:
None
Tagged:
0