CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 MySQL Insert of Datefields with wrong DateFormat

Print topic Send  topic

Author Message
Rampftl

Posts: 3
Posted: 05/11/2007, 10:03 AM

I have a form with date controls in it.
When adding a new record my database always does an insert with wrong date formate. Independently from what I set in Format property, Default DateFormat etc. it uses the format

'05/11/2007 00:00:00'

in the insert string.

MySql accepts the insert but fills the date field with '0000-00-00 00:00:00'.

When doing an insert manually with a date format '2007-05-11 00:00:00' the date field is filled correctly.

So how can I manipulate the date format CCS is using to do inserts and updates?

kind regards
Rampftl
View profile  Send private message
wkempees


Posts: 1679
Posted: 05/11/2007, 10:47 AM

Use the search in the top menu of this forum.
Search for date format, it is described many many times already even today/yesterday it was answered
your date setting in project settings are wrong or incomplete.
Walter

_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.