Beefy Boxes and Bandwidth Generously Provided by pair Networks Cowboy Neal with Hat
Do you know where your variables are?
 
PerlMonks  

Re: DBI & date/timestamp problem

by ptum (Priest)
on Jan 26, 2006 at 12:37 UTC ( [id://525785]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to DBI & date/timestamp problem

So, most databases have a 'default' date format that is set by whoever installs your database. For example, our current default date format for an Oracle database I work with has a DD-MON-YY default format. In general, you should always use some variant of an explicit TO_DATE($string_date,$format) converting function so that you don't get any surprises (like when you submit 05/04/06 and end up with April 6, 2005 instead of May 4, 2006).


No good deed goes unpunished. -- (attributed to) Oscar Wilde

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://525785]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.