linked calendar with php.
PHP date subtract is missing