Re: UTC time conversion to local time

2008-08-14 Thread Bill Luebkert
Bilashi Sahu wrote: > Hi, > I am trying to convert UTC (In seconds) time to local Time. > I will appreciate if anybody has some hints to do this. > I have code like this, it does not work properly > Here cds_date is in UTC seconds and $cmpn_date is in local time > Just comparing if both of the same

Re: UTC time conversion to local time

2008-08-14 Thread Michael Ellery
use DateTime; use DateTime::Format::HTTP; ??? -Mike Bilashi Sahu wrote: > Hi, > I am trying to convert UTC (In seconds) time to local Time. > I will appreciate if anybody has some hints to do this. > I have code like this, it does not work properly > Here cds_date is in UTC seconds and $cmpn_dat

UTC time conversion to local time

2008-08-14 Thread Bilashi Sahu
Hi, I am trying to convert UTC (In seconds) time to local Time. I will appreciate if anybody has some hints to do this. I have code like this, it does not work properly Here cds_date is in UTC seconds and $cmpn_date is in local time Just comparing if both of the same Thanks, Bilashi #check dat

Re: Need help

2008-08-14 Thread Bill Luebkert
Bilashi Sahu wrote: > Hi, > > I wrote following sub routine. But got error like this > "Use of uninitialized value in pattern match (m//) at checkYadInsertFamily.pm > line 71, line 6." 1) Always supply a complete standalone test case that reproduces your problem. 2) Always have a use strict and