CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Datetime format - date not displayed (resolved)

Print topic Send  topic

Author Message
imroza

Posts: 21
Posted: 07/14/2009, 9:58 AM

I Have this setting:

-------------------------
/Connection Settings @0-31D2B6FF
$CCConnectionSettings = array (
"Lurto" => array(
"Type" => "MSSQLServer",
"DBLib" => "ODBC",
"Database" => "DBListaTx",
"Host" => "localhost",
"Port" => "",
"User" => "******",
"Password" => "******",
"UseODBCCursor" => "",
"Persistent" => false,
"DateFormat" => array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn", ":", "ss"),
"BooleanFormat" => array(1, 0, ""),
"Uppercase" => false
),
"InternetDB" => array(
"Type" => "MySQL",
"DBLib" => "MySQL",
"Database" => "lurto_db",
"Host" => "localhost",
"Port" => "",
"User" => "******",
"Password" => "******",
"Persistent" => false,
"DateFormat" => array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn", ":", "ss"),
"BooleanFormat" => array(1, 0, ""),
"Uppercase" => false
)
);
//End Connection Settings
-------------------------

I'm having trouble with datetime formats. I can't find a way to display any date from my MSSQLServer connection.

Can anybody guide me?
View profile  Send private message
damian

Posts: 838
Posted: 07/14/2009, 4:20 PM

please try this link:
http://forums.codecharge.com/posts.php?post_id=106970&s_keyword=mssql

_________________
if you found this post useful take the time to help someone else.... :)
View profile  Send private message
imroza

Posts: 21
Posted: 07/14/2009, 10:55 PM

Thanks Damian.

Solution:

server date format settings:
yyyy-mm-dd HH:nn:ss.S

------------------------------
"DateFormat" => array("yyyy", "-", "mm", "-", "dd", " ", "HH", ":", "nn", ":", "ss", ".", "S"),
------------------------------

Rob
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.