'Lo?? Anyone there? A question??
Grant McLean
grant at mclean.net.nz
Wed Oct 1 13:55:34 CDT 2003
Check out the manpage for the Win32::OLE::Variant man page. It suggests
you should be able to do something like this:
use Win32::OLE::NLS qw(:LOCALE :DATE);
# get your filetime value in $v
my $date_str =
$v->Date("ddd',' MMM dd yy") . " " . $v->Time("hh.mm.ss tt");
Good luck.
Grant
Enkidu wrote:
> Running Perlscript in an ASP script on Win2K using Indexing Service.
>
> The script does a search and the RecordSet returned contains fields
> with the type of VT_FILETIME.
>
> How do I handle this and convert it to a sensible Date/Time format?
>
> Cheers,
>
> Cliff
> --
>
> The complete lack of evidence is the surest sign
> that the conspiracy is working.
>
More information about the Wellington-pm
mailing list