Dear friend,
I have seen all your replies. I have searched for epoch seconds.
Used them in my program, but at atlast i have got an error when i entered date as 31. I have surfed through the net, asked my quoleagues to solve my problem. But, i could not get the result. I am sorry if i did make a mistake.
Pls help me in solvin this problem.
My problem is:
-
use Time::Local;
-
-
my $a = "2008-04-02 10:23:34";
-
my $b = localtime($a);
-
It is working fine. only when u give 31 instead of 30 . i am getting out of range error. So, pls help me in this regard.
Regards,
Pavan