Beranda > Tutorial > PHP > php classess date calculator

php classess date calculator

Artikel ini akan memberikan gambaran bagaimana menggunakan php date calculator classes yang sempat saya temukan di phpclasses.org. php classes date calculator ini di buat oleh Steve Powel sekitar tahun 2004 lalu namun masih cukup bermanfaat bagi saya dan mungkin anda.

Start UP

1
2
3
4
5
6
7
8
9
10
11
12
<?php
include ('dateclass.php');
// initiate the class
$dc = new DateClass();
// operasi penambahan
$nd = $dc->Add('days',5);
 // operasi pengurangan
$nd = $dc->Add('months',-5);
 
// tampilkan
echo $nd->ToString();
?>

Download link : http://www.phpclasses.org/browse/file/6434.html
Selamat mencoba.

About the author

wrote 255 articles on this blog.

Provider Registrasi Domain , Hosting Murah,VPS & Dedicated Server
Live Chat Online : Senin – Sabtu 09.00 – 16.00 wIB
Support : support [at] pusathosting.com
Aktivasi : billing [at] pusathosting.com
Follow kami di Twitter, Facebook & Google Plus

0saves
Klik Tombol Diatas dan Dapatkan artikel terbaru dengan subscribe di sini

Baca juga artikel ini :

  1. LiveZilla Support Chat Gratis
  2. Registrasi Domain .ID ditutup Hari Ini
  3. Undian 5 Paket Domain Hosting Gratis bulan November Live
  4. comm100 Online Support Gratis untuk Website anda
  5. Diskon Hosting akhir Tahun 2011 – Hemat 20%

facebook comments:

Leave a Reply