Calculate date and time ranges in Groovy

Posted by bob on Aug 27, 2021 3:12 PM EDT
Opensource.com
Mail this story
Print this story

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

Full Story

  Nav
» Read more about: Story Type: News Story

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.