Re: I thought Y2K was over with?

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



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux