Linux

Calculate date and time ranges in Groovy

Every so often, I need to do some calculations related to dates. A few days ago, a colleague asked me to set up a new project definition in our (open source, of course!) project management system. This project is to start on the 1st of August and finish on the 31st of December. The service to be provided is budgeted at 10 hours per week.So, yeah, I had to figure out how many weeks between 2021-08-01 and 2021-12-31 inclusive.This is the perfect sort of problem to solve with a tiny Groovy script.read more

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Comment moderation is enabled. Your comment may take some time to appear.

Back to top button

Adblock detected

Please consider supporting us by disabling your ad blocker