mhonarc-users
|
Re: Y2K Problem with MhonArc 2.4.42000-01-14 11:00:31In <387EE146(_dot_)E9A4FB1(_at_)gunnar(_dot_)cc>, Gunnar Hjalmarsson <mailbox(_at_)gunnar(_dot_)cc> wrote: Earl Hood wrote:Probably quicker to just subtract 100 from $year if $year > 100 after $yearfull has been set: $year -= 100 if $year > 100;Well, 100 must be included, of course: $year -= 100 if $year >= 100; How about: $yearfull = $year + 1900; $year %= 100; -- Denis McKeon
|
|