<?
function SafDateDiff($dformat, $endDate, $beginDate){ //send yyyy-mm-dd start and end get the number of days
$date_parts1=explode($dformat, $beginDate);
$date_parts2=explode($dformat, $endDate);
$start_date=gregoriantojd($date_parts1[1], $date_parts1[2],$date_parts1[0]);
$end_date=gregoriantojd($date_parts2[1], $date_parts2[2],$date_parts2[0]);
return $end_date - $start_date;
}
?>
Blogger templates
Blogger news
Blogroll
Archives
-
▼
2012
(231)
-
▼
March
(26)
- Showing the error message of ajax/jquery requests ...
- Assignment #6 User Login Setup
- Build a PHP-Based Content Management System
- MySQL tools
- die() and exit() Functions in php
- How to offset a value with leading 0 or chr
- PHP variable
- Company ...
- Floating data type in php
- Display record in table format
- Apress Beginning Ajax with PHP From Novice to Prof...
- PHP while loop
- PHP GET & POST
- Objects
- PHP Loop Types
- Send 2 Diferent Date and Get Number of Days as Output
- logical operators in php
- mysql dump
- Multiple Table Join in MySQL
- Passing variable values from URL with PHP Get method
- Step by step PHP video tutorials from start to fin...
- Ultimate Fade Slideshow - Safari and Chrome
- PHP Login Script with Remember Me Feature
- No title
- Control Structures in PHP: IF
- file append in php
-
▼
March
(26)