in reply to Shorter Formating?
well, i'm only being half-serious here :0)
if you're using Oracle as a back-end :
(I wouldnt recommend firing an sql query just to get the timestamp, though)
if you're using Oracle as a back-end :
if you're using SQL Server , then it's even shorter :select to_char(sysdate,'YYYY-MM-DD HH:MI:SS') from dual;
can't get shorter than that, can u ? ;-)select getdate()
(I wouldnt recommend firing an sql query just to get the timestamp, though)
|
---|
In Section
Seekers of Perl Wisdom