ANNOUNCE: Time::Local 1.11

2005-02-09 Thread Dave Rolsky
1.112005-02-09
- Try to make detection of supported epoch range a little smarter.
The detection was allowing negative epochs on Win32 but apparently
this doesn't work, and trying to pass a pre-epoch date in just causes
a lot of warnings.  This silences warnings during the tests on
windows.

/*===
VegGuide.Orgwww.BookIRead.com
Your guide to all that's veg.   My book blog
===*/


RE: cpan.org - Convert DateTimes to/from Unix epoch seconds - help please

2005-02-09 Thread Hill, Ronald
Aliasghar Jagani wrote:
> Hi,
> 
(snipped)
> 
> I found a converter on cpan.org
> 
> but am not sure what i need to do to make it work, like what to
> download, how to install the script, etc. Can someone please explain
> all this to me?

Found in F:\perl\5.8.3\lib\pod\perlfaq8.pod
  How do I install a module from CPAN?
The easiest way is to have a module also named CPAN do it for you. This
module comes with perl version 5.004 and later.

> Thanks in advance,
> Ali

After you get the modules installed, Please take a look at the 
DateTime FAQ here:
http://datetime.perl.org/faq.html

Hope this helps.

Ron Hill


cpan.org - Convert DateTimes to/from Unix epoch seconds - help please

2005-02-09 Thread Aliasghar Jagani
Hi,

I administer a forums site, where in the database, one piece of
information stored for each member is the registered date and also the
last_visit date...it is a 10 digit integer. I assume it is using the
Unix epoch and is the number of seconds from the unix epoch.

I found a converter on cpan.org
(http://search.cpan.org/dist/DateTime-Format-Epoch/lib/DateTime/Format/Epoch/Unix.pm)
but am not sure what i need to do to make it work, like what to
download, how to install the script, etc. Can someone please explain
all this to me?

Thanks in advance,
Ali