On Fri, Nov 02, 2001 at 09:47:05PM -0500, Rich Bowen wrote:
> I was sure that there was an iso method, which output the iso formatted
> date.
> 
> rbowen@rhiannon:~% perl -MDate::ISO -le 'my $d=Date::ISO->new( epoch =>
> time ); print $d->iso;'
> 2001-W44-6
> 
> Unfortunately, the "default" ISO date format is this year-week-day
> format. At least that's what I gathered from all the web sites that I
> read about this format.

This site <http://www.cl.cam.ac.uk/~mgk25/iso-time.html> seems to
differ and claims that the default is YYYY-MM-DD.  Maybe this was
changed from YYYY-WW-DD in later editions of the standard.
Unfortunately I can't check against the standard itself, cos ISO don't
publish them online.  Ain't it great working against proprietary
standards :-)

-- 
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david

Cutting the space budget really restores my faith in humanity.  It
eliminates dreams, goals, and ideals and lets us get straight to the
business of hate, debauchery, and self-annihilation.
                -- Johnny Hart

Reply via email to