CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 CurrentDateTime

Print topic Send  topic

Author Message
laggerboutique

Posts: 8
Posted: 12/23/2004, 2:15 PM

I have a field in a form in which I would like to timestamp each new entry. I've set the Data Type tfor the field to Date and the Default Value to CurrentDateTime. The value entered gives the correct date, but the time is always 00:00:00.

I've set the Date Display Format in the Project Settings to yyyy/mm/dd HH:nn:ss.

Do I need to do something else in order to have the exact time registered along with the date?

Thanks
View profile  Send private message
feha


Posts: 712
Posted: 12/24/2004, 1:49 PM

If You use MySQL try to change field type to timestamp(unix) in mysql table ...
or you need to set field type in your DB table as DATETIME it will not help you to set it only in CodeCharge Studio if your DB is field type is set only to DATE ...

Hope this helps?!
-------------------------
www.coder24.com
_________________
Regards
feha

www.vision.to
feedpixel.com
View profile  Send private message
laggerboutique

Posts: 8
Posted: 12/28/2004, 5:14 PM

Yes, this did indeed solve the problem.

Thanks!
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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