add today date in php code example Example: date now php echo date('c'); // 2015-07-27T00:00:00+02:00