[EMAIL PROTECTED] wrote:
> Hi,
>
> A nice simple one for a Monday morning. I wanted to make
> sure I was using Mountain Time (my local time) and not GMT.
> So, I executed "print scalar gmttime;" but perl does not
> recognize gmttime. Why not? Perl does recognize localtime.
Localtime does just that. If you want qmtime, then add 'use Time::qmtime'
and you will be able to get the values you want.
Wags ;)
>
> Here is a test script:
>
> #! /usr/local/bin/perl
> #
> use strict;
> use warnings;
> use diagnostics;
> #
> print scalar localtime;
> print scalar gmttime;
> #
> exit(0);
>
> I am using perl, v5.8.2 built for MSWin32-x86-multi-thread
> Binary build 808 provided by ActiveState Corp.
>
> Many thanks,
> Martin
**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs