- Forums
- PHP
- How To Get Date Dd/mm/yy Day Month An Year In PHP Scripts
todays question is regarding date in php for example, lets say you want to display the date in this format 12/10/2010 i will show you with a sample code in this short step by step tutorial guide [1285], Last Updated: Sat May 18, 2024
wallpaperama
Wed Dec 22, 2010
0 Comments
2348 Visits
todays question is regarding date in php.
for example, lets say you want to display the date in this format:
12/22/2010well, its very easy, all you have to do is use the
date() function included in your php.
example:
<?php
echo date('m/d/Y');
?>
OUTPUT:
12/22/2010
hope that helps