WEB SİTEMİZE HOŞGELDİNİZ.. - PHP ile gün hesabı
|
|
|
|
|
<?php
echo strtotime("now"), "n";
// bugün
echo strtotime("10 September 2000"), "n";
// 10 eylül 2000
echo strtotime("+1 day"), "n";
// bir gün sonrası
echo strtotime("+1 week"), "n";
// bir hafta sonrası
echo strtotime("+1 week 2 days 4 hours 2 seconds"), "n";
// bir hafta 2 gün 4 saat 2 saniye sonrası
echo strtotime("next Thursday"), "n";
// en yakın perşembe
echo strtotime("last Monday"), "n";
// son pazartesi
?> |
Bugün 12 ziyaretçi (16 klik) kişi burdaydı!
|
|
|
|