From: Andrew T. <atr...@ac...> - 2002-04-02 22:28:38
|
use POSIX qw/strftime/; my $GMtimeZ = strftime("%Y%m%d%H%M%SZ", gmtime(time())); A -- On Apr 3, 12:12am, Kjetil Torgrim Homme wrote: > Subject: Re: Converting Date to UTC format > Graham Barr <gb...@po...> writes: > > > This is really off-topic for this list, but see Data::Parse and > > Date::Format > > Yeah (and learn to use http://search.cpan.org), but this reminds me > there is no module with code for converting to/from GeneralizedTime. > Not that it's very hard to write, but it would be nice to put routines > for stuff like this in a module. I'm sure there are other syntaxes > who could use utility functions which fit in. > > I can volunteer my code as a start :-) > > Kjetil T. > -- End of excerpt from Kjetil Torgrim Homme -- -- and...@uc... Unix Systems Group UC, Riverside |