Re: Converting numbers into date format

2001-12-04 Thread John W. Krahn
"John W. Krahn" wrote: > > Sandeep Pathare wrote: > > > > I am a beginner of Perl. How do I convert and print the following strings > > into a date format so that either the date is returned or "date not valid" > > is printed. > > Input data is: > > > > 792910171010163200 > > 552910171010163200

Re: Converting numbers into date format

2001-12-04 Thread John W. Krahn
Sandeep Pathare wrote: > > I am a beginner of Perl. How do I convert and print the following strings > into a date format so that either the date is returned or "date not valid" > is printed. > Input data is: > > 792910171010163200 > 552910171010163200 > 552913171010163200 > 552910171010163200

Re: Converting numbers into date format

2001-12-04 Thread Joel Divekar
Hi use POSIX Regards Joel At 11:54 AM 12/4/2001 +0330, nafiseh saberi wrote: >hi >you can do it with >gmtime >localtime >and many time function in... >http://www.perldoc.com/perl5.6/pod/func/gmtime.html >http://www.perldoc.com/perl5.6/pod/func/localtime.html >be successful. >your problem will

Re: Converting numbers into date format

2001-12-04 Thread nafiseh saberi
hi you can do it with gmtime localtime and many time function in... http://www.perldoc.com/perl5.6/pod/func/gmtime.html http://www.perldoc.com/perl5.6/pod/func/localtime.html be successful. your problem will solve. _ Best regards. Nafiseh Saberi www.iraninfocenter.net