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

Re: [MacPerl] Y2K complience



Tony Barry wrote:
> 
> I just noticed that a localtime  returns a two digit year.  Is MacPerl Y2K
> complient?
> 
> Tony
> 
> _______________________________________________________
> mailto:tony@ningaui.anu.edu.au          |+61 6 249 5688
> http://www.anu.edu.au/People/TonyB.html |+61 6 288 0959
> 
> Ningaui Pty Ltd, GPO Box 1680, Canberra City,  ACT 2601
> 
> Visiting Fellow, Department of Computer Science,   FEIT
> Australian National University,    ACT 0200   AUSTRALIA
> 
> ***** Want to unsubscribe from this list?
> ***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch

localtime does NOT return a 2 digit year.  It returns then number of
years since 1900.  e.g. in the year 2032 it will return 132 not 32.


	Hope this helps,
					Gary
-- 
Gary Ebert                                 Operations Administrator
Voice:     (301) 428-2115                  Mobile Datacom Corporation
Fax:       (301) 428-1004                  19540 Amaranth Drive
Pager:     (800) 490-7478                  Germantown, MD  20875-2126

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch