Subject: | Time-y2038 -- Giving Incorrect Date |
Date: | Thu, 29 Jul 2010 15:42:13 +0530 |
To: | "bug-Time-y2038 [...] rt.cpan.org" <bug-Time-y2038 [...] rt.cpan.org> |
From: | "Singh, Deepjyot" <Deepjyot_Singh [...] dell.com> |
Hi,
I am trying to print a date in the year 2040 using the module Time::y2038 after setting my system date to the year 2040 as you can see in the screenshot below. I have the following commands in my script and it is giving an incorrect output. Request you to look into this ASAP.
[cid:image001.jpg@01ECD39C.563C8B10]
Script -
use Time::y2038::Everywhere;
print "\nTime is - ".localtime(time);
Output -
D:\>perl date.pl
Time is - Sat Jun 25 09:10:28 1904
Thanks & Regards,
Deepjyot Singh
Dell | Catholic Healthcare West
Business: +91 120 2432750 x6290
Cell: +91 9990 200 500
E-mail: Deepjyot_Singh@dell.com<mailto:Sachin_Rastogi@dell.com>