add.php using new date format