Regular expression help w/timestamp

2002-03-03 Thread Rob Roudebush
Has anyone ever turned the mysql timestamp format 20020303223726 into something more readable like - 03/03/2002 22:37:26? I am also trying to do this from an array (the timestamp is in a array). I just figured somebody has probably done this already. Thanks, Rob ---

Re: Date format again

2002-03-03 Thread fliptop
Troy May wrote: > Hello, this guy finally emailed his script to me. The problem he is having > is with "$year". Here's the dating part of the code: > > --- > $date = `/bin/date`; > chop($date); has this guy considered using Date::Calc? http://search.cpan.

Missing modules

2002-03-03 Thread GsuLinuX
Hi from İstanbul, Anyone knows a free server that i can test my perl scripts? I've already find some but the modules that i need aren't installed. I prefer the one that all the perl modules are installed if it exists:) thanx Derya

Regexp using look behind to del " when not preceded by number

2002-03-03 Thread José I. Donnell
Hello: Been following the discussions for some time. The help has been invaluable, but I have a regexp that I am having trouble with. I am working on a search engine for my sites FAQs. The user can enter any text they choose. The subroutine replaces all char that are not A-Za-z0-9 " \s with

Date format again

2002-03-03 Thread Troy May
Hello, this guy finally emailed his script to me. The problem he is having is with "$year". Here's the dating part of the code: --- $date = `/bin/date`; chop($date); ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime; $thisday = (Sun,Mon,Tue,We