Fungsi : Mengubah string tanggal/waktu (bahasa inggris) ke timestamp Unix.
Sintaks :
strtotime ( string $time [, int $now ] )Contoh :
<?php echo strtotime("now"), "\n"; echo strtotime("10 September 2000"), "\n"; echo strtotime("+1 day"), "\n"; echo strtotime("+1 week"), "\n"; echo strtotime("+1 week 2 days 4 hours 2 seconds"), "\n"; echo strtotime("next Thursday"), "\n"; echo strtotime("last Monday"), "\n"; ?>
No comments :
Post a Comment
Silahkan berkomentar dengan baik dan sopan, komentar anda berharga bagi saya...oke browww