You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

best way to add or substract hours

in Sales 1 comment

Summary:

How is the best way to add or substract hours in groovy

Content (required):

Recently we created a script to calculate the actual date and the day before to send it to a external System via REST Service, but now the customer wants to calculate it hourly not daily, and I dont understand how is the best way to acomplish it. may you to explain me how I can calculate it.

I found these links:

http://docs.groovy-lang.org/docs/groovy-2.1.0/html/api/index.html?org/codehaus/groovy/runtime/DateGroovyMethods.html

https://www.tutorialspoint.com/groovy/groovy_gettime.htm

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!