On Fri, Jul 26, 2002 at 06:51:08AM -0700, lz wrote: > > I went to search.cpan.org trying to look for utility > that will return current GMT time, and couldn't find > any. >
According to *Perl Cookbook*: use Time::gmtime; $seconds = $tm->sec; The second line is just an example of getting the seconds that have passed since 1970, a useful variable when you are trying to figure out if a file is older than a certain date. But I believe you should be able to use any time functions with the gmtime module that you can with the localtime module. Hope that helps Paul -- ************************ *Paul Tremblay * *[EMAIL PROTECTED]* ************************ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]