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

[MacPerl] 1900-2000 problem. -Reply



>>> "Anders Gardebring" <anders.gardebring@nt.se> - 12/18/97 12:55 PM
>>>
Just a small question.
Is it possible to ask MacPerl to give 4 figures rather than two when
Im asking
for the year?
------
Actually, Perl gives the number of years since 1900 in that $year
variable, so the year 2001 is reported as 101. Just add 1900 to the
result, and you'll have a no-problem date!

Russell Mirabelli


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