> I have a date field that I need to convert; It comes through as the number
> of days since 1/1/1800...

How many days are there between 1/1/1800 and 1/1/1970? Work that out once and
use it as a constant.  Then, subtract that number from your COBOL date, and
multiply the result by 60*60*24, and you'll have a time that Perl can use.
After that, you've reduced the problem to a previously understood one.

Rodney

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl

Reply via email to