|
| From: | Fabrice Baro |
| Subject: | date: century option |
| Date: | Wed, 09 Feb 2005 17:24:54 -0500 |
| User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
Hello,The %C option for the "date" command returns the "year divided by 100 and truncated to an integer". For exemple, "date +%C" returns 20. But we are in the 21st century, aren't we ? Why not return the year/100 + 1 to give the correct century ?
Fabrice
| [Prev in Thread] | Current Thread | [Next in Thread] |