Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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)


Comment on Re: Shorter Formating?
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://189993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (5)
As of 2015-07-05 18:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls