Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Shorter Formating?

by screamingeagle (Curate)
on Aug 14, 2002 at 05:12 UTC ( #189993=note: print w/replies, xml ) Need Help??

in reply to Shorter Formating?

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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://189993]
[msh210]: I think I just found a lie in perldoc.
[msh210]: warn: "If the last element of LIST does not end in a newline, it appends the same file/line number text as die does."
[msh210]: perl -e'warn "test$/", "" '
[msh210]: doesn't append anything.

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (10)
As of 2017-04-24 12:35 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (439 votes). Check out past polls.