[CentOS] I thought Y2K was over with?
Stephen Harris
lists at spuddy.org
Sat Jan 2 23:32:36 UTC 2010
On Sat, Jan 02, 2010 at 04:44:38PM -0600, Gilbert Sebenste wrote:
> Apparently not. On a command line, type:
>
> date '+%G'
This is, I believe, correct. We're in ISO week 53 of year 2009
% date +"%V %G -- %c"
53 2009 -- Sat Jan 2 18:29:48 2010
% date +"%V %G -- %c" -d "today + 1 day"
53 2009 -- Sun Jan 3 18:29:59 2010
% date +"%V %G -- %c" -d "today + 2 days"
01 2010 -- Mon Jan 4 18:30:06 2010
--
rgds
Stephen
More information about the CentOS
mailing list