Source Code:
(back to article)
<?php $currentDate = new DateTime(); echo $currentDate->format('Y-m-d H:i:s'); ?>
Result:
Report an issue