On Mon, 9 Jun 2003, Joshua Hoblitt wrote: > I just got back from Perl Whirl. Having spent most of the last week > plugging DT as a replacement for many of the examples given in the > talks, I think we need a converting to DT section in the FAQ or a > separate document dedicated to this. > > For example (I saw this in many presentations ): > > use POSIX qw( strftime ); > > my $time = strftime( "%Y-%m-%d %H:%M:%S", localtime() );
Of course, if this is _all_ you'll ever need, converting to DT is almost certainly a mistake. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/