Return the current time as a Unix timestamp, then format it to a date: <?php /* Unix Timestamp */ $timestamp = time(); echo $timestamp . "<br>"; echo date("d/m/Y", $timestamp); ?>