CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 date handling

Print topic Send  topic

Author Message
guest
Posted: 06/11/2002, 3:15 PM

I converted a CC2 project to CCS (PHP and templates). There are several
problems I have encountered. First, I have a date field in a grid that is a
URL field. There is no DBFormat property that I can see (so the date doesn't
show). I also had a date field that specified the default to be
Date('Y-m-d'). It generated as follows:
$InitialContactDate = new clsSQLParameter("ctrlInitialContactDate",
ccsD
ate, Array("mm", "/", "dd", "/", "yyyy"), Array("yyyy", "-", "mm", "-",
"dd", "
", "HH", ":", "nn", ":", "ss"), $this->InitialContactDate->GetValue(),
=Date('Y-
m-d'));
PHP does not like the =Date('Y-m-d'), if I remove the "=" it works. I have
removed this from the default value and replaced it with current date and it
still generates this way. I also tried setting the default to nothing and it
still generates. How do I fix this.


   


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

MS Access to Web

Convert MS Access to Web.
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.