I have 2 questions:
1.When I read the number using (\S+) its getting stored as 2.08E13.
Code I used:
How to read and store a 15digit number in perl?
2.Once I store the number how do I convert to date and time?
like 09/28/2008 01:41:55
Please let me know
1.When I read the number using (\S+) its getting stored as 2.08E13.
Code I used:
Code:
if ($line=~/4_begindt_(\S+)/) { print "$1\n" } # $1=2.08E13; instead $1 should contain 20080928014155
2.Once I store the number how do I convert to date and time?
like 09/28/2008 01:41:55
Please let me know
Comment