CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 Validate a date

Print topic Send  topic

Author Message

Posts: 51
Posted: 10/15/2009, 7:01 AM

Hey all,
In PHP there is a function called checkdate which checks the validity of the date formed by the arguments.
bool checkdate ( int $month , int $day , int $year )
A CCS Date data type is an array.For example, if you fetch a control value that stores a date, do the following to validate:

$isvalid=checkdate ($month , $day , $year);  
View profile  Send private message
Posted: 10/15/2009, 1:43 PM

See also the CCFormatDate() and CCParseDate() functions.

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

Web Database

Join thousands of Web developers who build Web applications with minimal coding.

Home   |    Search   |    Members   |    Register   |    Login

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