- date_create: documentation ( source)
- date_date_set: documentation ( source)
- date_create_from_format: documentation ( source)
- date_format: documentation ( source)
<?php
$date=date_create();
date_date_set($date,1975,11,28);
echo date_format($date,"Y/m/d") . "\n";
$date1=date_create_from_format("j-M-Y","15-Mar-2013");
//echo $date1 . "\n";
echo date_format($date1,"Y/n/d h");