Viết một script để chuyển đổi date thành timestamp
Mã nguồn PHP:
<?php $timestamp = strtotime('12-05-2014'); echo $timestamp."\n"; ?>
Xem ví dụ