Jm lists wrote: > Hi members, Hello,
> I want to get this format of time: > > 11.07.06 12:00 pm > > can you tell me how to get it?(maybe need to be translated from the > 'localtime') Thanks. use POSIX 'strftime'; my $date = strftime '%m.%d.%y %I:%M %p', localtime; John -- Perl isn't a toolbox, but a small machine shop where you can special-order certain sorts of tools at low cost and in short order. -- Larry Wall -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>