At this time

>date
Mon Dec 29 02:23:36 CET 2003

%G format gives the year 2004:

>date +%G
2004

It didn't do so yesterday.

>date --version
date (coreutils) 4.5.3
Written by David MacKenzie.

Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Regards,

-- 
Carlo Wood <[EMAIL PROTECTED]>


_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to