p***@blueyonder.co.uk
2008-12-06 12:01:20 UTC
Im trying to write a little (perl) script extract data from a pdb
file
http://www.jsankey.com/software/timesheet/timesheet.htm FWIW
ive got to each data field in each record
foreach my $k (@{$pdb->{"records"}})
{
foreach $key ( keys %$k )
{ print "key is $key: => $$k{$key} \n " ;}
}
there are 2 date/time fields and a text field
i can strip off the free text entry as $2
$str=~/(.+)ÿÿ(.+)/;
i cant find anything on how the date/time will be saved ( and how the
entries will be divided in the string $1)
Can anyone enlighten me - or point me to resource to convert from pdb
date format to something human-readable ?
file
http://www.jsankey.com/software/timesheet/timesheet.htm FWIW
ive got to each data field in each record
foreach my $k (@{$pdb->{"records"}})
{
foreach $key ( keys %$k )
{ print "key is $key: => $$k{$key} \n " ;}
}
there are 2 date/time fields and a text field
i can strip off the free text entry as $2
$str=~/(.+)ÿÿ(.+)/;
i cant find anything on how the date/time will be saved ( and how the
entries will be divided in the string $1)
Can anyone enlighten me - or point me to resource to convert from pdb
date format to something human-readable ?