Date: Fri, 01 Aug 1997 04:30:41 +0100 From: Brian Somers <brian@awfulhak.org> To: Michael Smith <msmith@atrad.adelaide.edu.au> Cc: grog@lemis.com (Greg Lehey), brian@awfulhak.org, hackers@FreeBSD.ORG Subject: Re: date(1) Message-ID: <199708010330.EAA06049@awfulhak.org> In-Reply-To: Your message of "Fri, 01 Aug 1997 12:33:59 %2B0930." <199708010304.MAA02188@genesis.atrad.adelaide.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> This is what I proposed back at the beginning of the thread : something > like : > > date -f %H:%M:%S 12:31:00 > date -f %c%y,%m,%d 1997,Aug,1 > > etc, with some standard builtin templates for trying, eg : > > date -a "Fri 1 Aug 12:33:15 CST 1997" > > is the standard ctime format, one that's worth parsing. So who's lurking with the strptime() code ? > -- > ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ > ]] Genesis Software genesis@gsoft.com.au [[ > ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ > ]] realtime instrument control. (ph) +61-8-8267-3493 [[ > ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ -- Brian <brian@awfulhak.org>, <brian@freebsd.org> <http://www.awfulhak.org> Don't _EVER_ lose your sense of humour....
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708010330.EAA06049>