From enkidu at cliffp.com Wed Oct 1 05:23:33 2003 From: enkidu at cliffp.com (Enkidu) Date: Thu Aug 5 00:24:19 2004 Subject: 'Lo?? Anyone there? A question?? Message-ID: 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. From grant at mclean.net.nz Wed Oct 1 13:55:34 2003 From: grant at mclean.net.nz (Grant McLean) Date: Thu Aug 5 00:24:19 2004 Subject: 'Lo?? Anyone there? A question?? In-Reply-To: References: Message-ID: <3F7B2326.7070208@mclean.net.nz> 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. > From Malcolm.Allison at computerland.co.nz Sun Oct 5 19:00:05 2003 From: Malcolm.Allison at computerland.co.nz (Malcolm Allison) Date: Thu Aug 5 00:24:20 2004 Subject: Perl v4 manual Message-ID: <6B854BA41A86CB4BB02BAB717796F9D972EF10@clwlge2k01.computerland.co.nz> Hi, I'm using Perl to automate a lot of our daily tasks in looking after Tivoli. Unfortunately our Tivoli install includes Perl v4.0 and the only manuals I have are for v5. Most of the time this is ok, but I keep coming across functions that don't work and bizarre little synactic differences. Does anyone know where I might obtain a manual for version 4? Chairs, Malcolm Allison, Tivoli Services Engineer Enterprise System Management Bureau Computerland NZ From ewen at naos.co.nz Sun Oct 5 19:08:08 2003 From: ewen at naos.co.nz (Ewen McNeill) Date: Thu Aug 5 00:24:20 2004 Subject: Perl v4 manual In-Reply-To: Message from "Malcolm Allison" of "Mon, 06 Oct 2003 13:00:05 +1300." <6B854BA41A86CB4BB02BAB717796F9D972EF10@clwlge2k01.computerland.co.nz> Message-ID: <20031006000808.628C63C486BB@basilica.la.naos.co.nz> In message <6B854BA41A86CB4BB02BAB717796F9D972EF10@clwlge2k01.computerland.co.nz >, "Malcolm Allison" writes: >Does anyone know where I might obtain a manual for version 4? Perhaps check some second hand book shops for old copies of the O'Reilly Perl book? It was the most definitive reference. I used to have the book that came out when Perl 4 came out, but gave it away some years ago to someone who was learning perl. (IIRC you'd be looking for a version about 2-3 editions back, which is around 5-6 years old.) Otherwise "man perl" should tell you what is available (IIRC the Perl 4 perl(1) man page was both very long and complete, and also one page). Ewen