HTML/Javascript

SES by business degree online promotion team.

Philippine Airlines International Flight schedules

Philippine Airlines International Flight schedules
Philippine Airlines International Flight schedules

Search This Blog

Wednesday, October 6, 2010

Formatting Date

code to format date:

for example, after search date from mysql database, then you can format date.
Here is the sample code.

$created = $row['created'];
$created_crea = date("Y-m-d",strtotime($created));

No comments:

Post a Comment