Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > dateformat issu...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 3402 of 3799
Post > Topic >>

dateformat issue

by gavinb@[EMAIL PROTECTED] ("Gavin 'Beau' Baumanis") Apr 10, 2008 at 10:14 AM

Hi Everyone,

I have a question about dates, please.

I am using Coldfusion and Postgres
I have a function that takes the ate entered in a form and converts it  
into an odbc date format.

So the string ends up being;
{d '2008-04-10'}

Strangely, the function is used throughout the application and causes  
no issues but on one particular template.
And this same templates is replicated for other clients - that  
seemingly have no issue .


The SQL is simply

Insert into table (datefield) values ({d '2008-04-10'})

Now, I have read the docs and do not see the {d '2008-04-10'} format  
as being a valid date data type...
But it works elsewhere in the application / on other sites - thus my  
current state of confusion.

Thanks in advance for any ideas you might have.



Please contact me if you should have any questions.

Gavin 'Beau' Baumanis
Senior Application Developer
PalCare Pty. Ltd.

E: beau@[EMAIL PROTECTED]
 +61 -3 9318 4567
M: +61 -4 38 545 586
W: http://www.palcare.com.au

-- 
Sent via pgsql-sql mailing list (pgsql-sql@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
 




 6 Posts in Topic:
dateformat issue
gavinb@[EMAIL PROTECTED]   2008-04-10 10:14:41 
Re: dateformat issue
aarni@[EMAIL PROTECTED]   2008-04-10 09:17:33 
Re: dateformat issue
gavinb@[EMAIL PROTECTED]   2008-04-10 16:41:29 
Re: dateformat issue
aarni@[EMAIL PROTECTED]   2008-04-10 10:27:24 
Re: dateformat issue
vrobador@[EMAIL PROTECTED  2008-04-10 13:19:42 
Re: dateformat issue
yazicivo@[EMAIL PROTECTED  2008-04-10 15:37:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 21:25:23 CST 2008.