skip to main
|
skip to sidebar
Sheetal's Blog
Thursday, March 12, 2009
Find the Age?
In php, you can use the following script to find the age.
$age = floor((time() - strtotime($dob))/31556926);
where $dob is date in any format.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Search This Blog
About Me
Sheetal Nepte
I have developed web applications using PHP, MySQL, AJAX, Drupal & ROR, created Web services & worked on CMS. I would like to be master of each technology whichever i use.
View my complete profile
Blog Archive
▼
2009
(9)
▼
March
(3)
A simple Pagination function
Truncating the text
Find the Age?
►
January
(6)
►
2008
(5)
►
September
(1)
►
July
(1)
►
May
(1)
►
February
(1)
►
January
(1)
►
2007
(2)
►
October
(1)
►
September
(1)
Labels
age
Barcamp
dob
drupal
facebook
fropper
IVR
javascript
marathi poem
mongrel
Mumbai
orkut
pagination
php
Pune
RAGI
rails
rentacoder
setup
smtp
string
truncate
webservices
ZCE
No comments:
Post a Comment