- 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 g");
$date1=date_create_from_format("Y-n-j","1975-11-28");
echo $date1;