Get System Date

Category: Web Programming » PHP » Tips and Tricks

Method 1:To get current date as string

<?php
echo date('d/m/Y'); // for dd/mm/yyyy format
Tags: php, date, date function