in reply to Looking for an efficient way to do datetime transfer

again, Date::Simple to the rescue:
$ perl -MDate::Simple=date -wle 'print date("1899-12-30") + 40254' 2010-03-17
Perl 6 - links to (nearly) everything that is Perl 6.