Hi,

        You may need to set the timezone as its not set on Winnt by
default.  Open the properties of "My Computer" and set a SYSTEM variable
TZ to your timezone.  Use the form "EST5EDT" so you don't have to change
it every 6 months when going to or from daylight saving.  Its in the
perldoc of Date::Manip. :)

Cheers,
Michael


> Date: Tue, 30 Mar 2004 16:40:50 -0500
> From: Laurie Vien <[EMAIL PROTECTED]>
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: What's wrong with UnixDate("30000101","%Y%m%d")?
>
> I know this isn't a DBI-specific question, but some of you are familiar with
> what I've been doing so I thought I'd post here:
>
> > The following line of Perl code:
> >
> >     $earliest_contact = UnixDate("30000101","%Y%m%d");
> >
> >
> > results in the following error messages:
> > D:\>process_chunkmail_SEND.pl
> > ERROR: Date::Manip unable to determine TimeZone.
> >         Date::Manip::Date_TimeZone called at /site/lib/Date/Manip.pm line
> > 661
> >         Date::Manip::Date_Init() called at /site/lib/Date/Manip.pm line
> > 779
> >         Date::Manip::ParseDateString(30000101) called at
> > /site/lib/Date/Manip.pm line 1725
> >         Date::Manip::UnixDate(30000101, '%Y%m%d') called at
> > process_chunkmail_SEND.pl line 50
> >
> > Can anyone shed any light on what the problem is?  Is it because
> > 01/01/3000 is too far in the future?  I'm using v5.4.2 of DateManip.
> > NOTE:  This problem does NOT happen on my machine; it happens on a remote
> > system to which I have no access.  Another subsidiary is testing my Perl
> > script and reporting errors to me.
> >
> > Thank you.
> >
> > Laurie A. Vien
> > Sr. Programmer/Analyst
> > Ben & Jerry's Homemade, Inc.
> >
>

                ---//---
Why should I have to WORK for everything?! It's like saying I don't deserve it!
                ---Calvin (Calvin & Hobbes ).

Reply via email to