in reply to Search Outlook E-mail by Subject and Sent (or Received) Time by today's date

Dates are usually returned via OLE as a Variant data type.

You most likely need to do something like:

use Win32::OLE::Variant; my $ole_date = $item->{ReceivedTime}; print $ole_date->Date('dd/MM/yyyy'), ' ', $ole_date->Time('HH:mm:ss'), "\n";

Untested, but lifted from a piece of code which uses the SourceSafe OLE interface, so should work!

Try Win32::OLE::Variant for more info.