[CentOS] I thought Y2K was over with?
Benjamin Donnachie
benjamin at py-soft.co.ukSat Jan 2 22:49:54 UTC 2010
- Previous message: [CentOS] I thought Y2K was over with?
- Next message: [CentOS] I thought Y2K was over with?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2010/1/2 Gilbert Sebenste <sebenste at weather.admin.niu.edu>: > Apparently not. On a command line, type: > date '+%G' Looks perfectly correct to me - from man strftime %G is replaced by a year as a decimal number with century. This year is the one that contains the greater part of the week (Monday as the first day of the week). Maybe you want %Y? %Y is replaced by the year with century as a decimal number. Ben
- Previous message: [CentOS] I thought Y2K was over with?
- Next message: [CentOS] I thought Y2K was over with?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list