"m/d/Y" for US/Canada format dates
*/
+if(function_exists("date_default_timezone_set") and function_exists("date_default_timezone_get"))
+ @date_default_timezone_set(@date_default_timezone_get());
function __date($year, $month, $day)
{
}
-function date_diff ($date1, $date2, $period)
+function date_diff2 ($date1, $date2, $period)
{
/* expects dates in the format specified in $DefaultDateFormat - period can be one of 'd','w','y','m'