Calculate last day of quarter with date binary in a simpler/better way

前端 未结 0 1651
独厮守ぢ
独厮守ぢ 2021-01-06 01:09

Is there a simpler/better way to calculate the last day of the quarter with date, than the one I\'ve come up with?

#QUARTER=$(( ((($(date +\'%-m\') - 1) / 3)          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题