Menghitung Umur / Usia dengan PHP

Menghitung Umur / Usia dengan PHP dapat dilakukan dengan cara yg panjang atau cara yang pendek. Menghitung Umur / Usia sering digunakan pada aplikasi sistem informasi. Beberapa aplikasi yang menggunakan Perhitungan Umur / Usia dengan PHP adalah Sistem Informasi berbasis Web.

Menghitung Umur / Usia biasanya dilakukan secara otomatis oleh program. Beberapa Pendaftaran CPNS Departemen Departemen yang dilakukan secara online menggunakan Perhitungan Umur / Usia, agar Calon Pendaftar yang sudah lewat umurnya atau belum cukup umur tidak dapat mendaftarkan dirinya..

berikut contoh syntax Menghitung Umur / Usia dengan PHP, dilakukan dengan cara singkat dan tanpa pikir panjang anda dapat menerapkannya..
[source : http://drewd.com/2006/11/03/calculating-age-in-php]


<?php
$birthdate = '1987-04-11';
$age = ((time() - strtotime($birthdate))/(60*60*24*365.2425));
echo"$age";
?>

Semoga Berhasil..

Komentar FB


Probably Related Article



17 comments:

!Rchymera! said...
November 17, 2009 at 4:51 AM

Wach mantep mas infonya dan sgt berguna bagi saya yang gak tau menau soal PHP xixixi...:D

Picas said...
November 18, 2009 at 10:49 PM

Yup..
Terima Kasih..
Semoga bermanfaat..

rumah blogger said...
November 21, 2009 at 10:24 PM

wah bertambah lagi nic ilmu, makasih bro..

sabirinnet said...
November 21, 2009 at 10:25 PM

oh gitu ya, sosok aja kalo mendaftar terelalu tua nggak diterima.

Picas said...
November 22, 2009 at 8:26 PM

Kadang diverifikasi dgn KTP atau akta kelahiran lagi setelah pendaftaran online

PHP Code Samples said...
January 3, 2010 at 11:04 AM

Cool, thanks for the tips.

Cellular Mobile said...
January 31, 2010 at 12:37 AM

I can't understand the post, since it is in the strange language. But by some comments I can understand that these are some kind of tips. If its possible for the blog owner to post it again in the English translated version it would be the great pleasure for the English readers.

Home Loans said...
February 17, 2010 at 9:33 PM

Even all the comments of this post are in the strange language. Can some one here tell me that what is this language?

Jingles said...
February 17, 2010 at 11:44 PM

I can't understand the language, but to some extent what I have understood from your post that its about some script of PHP. I am not a programmer of PHP but I can say that PHP is the powerful tool for the web applications development.

Sex Impotence said...
February 18, 2010 at 11:20 AM

PHP stands for hyper text pre-processor language. And it is used for developing the web pages used over the world wide web. There are many other languages also for developing and designing the web pages, but PHP is good for creating and designing the dynamic and database friendly web pages.

Amatory Watches said...
February 19, 2010 at 9:44 PM

PHP: Hypertext Preprocessor (the name being a recursive acronym) is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document. As a general-purpose programming language, PHP code is processed by an interpreter application in command-line mode performing desired operating system operations and producing program output on its standard output channel. It may also function as a graphical application. PHP is available as a processor for most modern web servers and as standalone interpreter on most operating systems and computing platforms.

PHP was originally created by Rasmus Lerdorf in 1995[1] and has been in continuous development ever since. The main implementation of PHP is now produced by The PHP Group and serves as the de facto standard for PHP as there is no formal specification.[3] PHP is free software released under the PHP License, which is incompatible with the GNU General Public License (GPL) because restrictions exist regarding the use of the term PHP.[4]

Liquid Rubber Application said...
March 4, 2010 at 1:27 AM

Well that's really a very cool post. Its full of information. I have got a lot of information through your post. Thanks for sharing such a nice tutorial post.

Blog Literature said...
March 16, 2010 at 1:33 PM

Amazing post. Its really a very informative post indeed. I 'll try to follow these points. Thanks for sharing such a nice post.

金瓜米粉Jason said...
May 5, 2010 at 7:28 PM

徵信社,尋人,偵探,偵探社,徵才,私家偵探,徵信,徵信社,徵信公司,抓猴,出軌,背叛,婚姻,劈腿,感情,第三者,婚外情,一夜情,小老婆,外遇,商標,市場調查,公平交易法,抓姦,債務,債務協商,應收帳款,詐欺,監護權,法律諮詢,法律常識,離婚諮詢,錄音,找人,追蹤器,GPS,徵信,徵信公司,尋人,抓姦,外遇,徵信,徵信社,徵信公司,尋人,抓姦,外遇,徵信,徵信社,徵信公司,尋人,抓姦,外遇,徵信,徵信社,徵信公司,尋人,抓姦,外遇,徵信社

Nursing Resumes said...
December 27, 2010 at 5:33 AM

One cant resist impressing after reading this post and I am very much happy to read all this. This is good post and thanks for sharing.

Rolex Replica Watches said...
June 24, 2011 at 3:05 AM

I haven't use it yet but now going to give it a try. I hope it will also work for my site.

nLs said...
July 7, 2011 at 1:08 AM

thank u so much :)

Related Posts by Categories



Widget by