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 -> PHP

 Date To Text Problem - PHP

Print topic Send  topic

Author Message
FERAD
Posted: 07/23/2004, 9:58 AM

In a User Response Form, I have a hidded field that is a reference to a date field within a database.

When the custom code executes I need to change the date to a text value and use it in an automated email response.

$message = "<b>Date / Time:</b> " . $data->c_datetimeh->GetValue() . "<br>";


When the code executes my response is:
Date / Time: Array

I even tried the date() function and get a totally incorrect date.

Thanks for your help in advance.
RvR
Posted: 07/28/2004, 7:30 AM

$message = "<b>Date / Time:</b> " . ToSQL($data->c_datetimeh->GetValue(),ccsDate) . "<br>";
Last Hero
Posted: 07/29/2004, 12:26 AM

$message = "<b>Date / Time:</b> " . $data->c_datetimeh->GetText() . "<br>";

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.

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.