CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.

YesSoftware Forums -> Archive -> GotoCode Archive

 Automatic Date entry

Print topic Send  topic

Author Message
Ed Lentz
Posted: 11/09/2003, 8:22 AM

I have a MySql DB, using PHP, and CCS2. How could I enter a date in a field in my MySql table when I update a record? Is there a FAQ or Tutorial?


Posted: 11/19/2003, 3:54 AM

There is a timestamp data type in MySQL right? Can you try that please set a database field to a timestamp :)
Posted: 11/19/2003, 6:00 AM

Select your record
On your data tab select custom update type > table
Click on custom update
Hit the + next to parameters

-field is Date or DateTime field in Table; type > text
-parameter source is type > code expression; name > 'now()'

Posted: 11/19/2003, 11:23 PM

Assuming that you want to default a date to 12/31/2037 - do this

set the default value to: mktime(0,0,0,12,31,2037)


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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