Article 5NW0J LXer: Calculate date and time ranges in Groovy

LXer: Calculate date and time ranges in Groovy

by
LXer
from LinuxQuestions.org on (#5NW0J)
Published at LXer:

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

Read More...latest?d=yIl2AUoC8zA latest?i=PoU2m7dNz4g:MnT-vs2QEBo:F7zBnMy latest?i=PoU2m7dNz4g:MnT-vs2QEBo:V_sGLiP latest?d=qj6IDK7rITs latest?i=PoU2m7dNz4g:MnT-vs2QEBo:gIN9vFwPoU2m7dNz4g
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments