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 -> General/Other

 cosutm date show in calendar

Print topic Send  topic

Author Message
matik

Posts: 57
Posted: 05/14/2006, 2:45 PM

Hi,

I have tried this code in before show calendar events:

$Format = array("yyyy", "-", "mm", "-", "dd");
$Date = CCParseDate("2007-01-01", $Format);
$Calendar1->CurrentDate = $Date;

But its change only calendar navigator bar title. Month date and day number remain the same (today date and month).

What I am doing wrong??
View profile  Send private message
Last Hero
Posted: 05/15/2006, 12:35 AM

1. Use PageAfterInitialize event
2. Use $Calendar->SetNow($date)
matik

Posts: 57
Posted: 05/15/2006, 12:54 AM

Calendar1 is name of my calendar tabble so I have change name to:
$Calendar1->SetNow($date);

and I get this:
Fatal error: Call to a member function on a non-object in c:\inetpub\wwwroot\datetest\date_events.php on line 243
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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