Date: Sat, 1 Jan 2000 11:52:43 -0500 (EST) From: Howard Goldstein <hgoldste@mpcs.com> To: "Castor Fu" <castor@geocast.com> Cc: vev@michvhf.com, freebsd-stable@freebsd.org Subject: Re: date +%G still thinks it's 1999? (as it should) Message-ID: <14446.12507.986096.614422@penny.n2wx.ampr.org> In-Reply-To: <Pine.BSF.4.05.10001010837590.17707-100000@marais.sfo.geocast.net> References: <14446.11440.328151.913890@penny.n2wx.ampr.org> <Pine.BSF.4.05.10001010837590.17707-100000@marais.sfo.geocast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Castor Fu writes: > > > On Sat, 1 Jan 2000, Howard Goldstein wrote: > > > > > I'm not sure what I'm doing wrong here :( > > Reading the man page wrong? Definitely yes > > %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). > > Since most of this week is in 1999, the answer is. . . . 1999 Arrgh... %Y works a whole lot better. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14446.12507.986096.614422>