coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

quarter code for date


From: john woods
Subject: quarter code for date
Date: Thu, 6 Oct 2016 11:11:30 +0100

date +%YW%V gives week and year; it would be nice if date +%YQ%q could
return, eg 2016Q3 as having a quarters code in date would save AWKwardness
or shell arithmetic.

Perhaps we could have
%q 1,2,3,4
%Q 1st quarter; 2nd quarter; 3rd quarter; 4th quarter

Regards ...



. . . John




Dr J H Woods
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]