<?php
$prev_day = 30;
$prev_hari = mktime(0,0,0,date("m"),date("d")-$prev_day,date("Y"));
echo "30 hari sebelum tanggal sekarang = ".date("Y-m-d",$prev_hari);
echo "tanggal sekarang = ".date("Y-m-d");
?>
Search This Blog
Subscribe to:
Post Comments (Atom)
-
In this simple project, we’ll build a motion-sensing alarm using a PIR (passive infrared) sensor and an Arduino microcontroller. This is ...
-
On 1st July 2014 , Zentyal developers announced the release of Zentyal Linux 3.5 Community Small Business Server , a native drop-in repla...
No comments:
Post a Comment