<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/AGE</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 04:03:10 GMT</pubDate>
<item>
<title>(SAS) person age function - csrsen</title>
<link>http://snipplr.com/view/70109/person-age-function/</link>
<description><![CDATA[ <p>For proper calculation of human age using DOB and an as-of date.</p> ]]></description>
<pubDate>Wed, 27 Feb 2013 07:15:57 GMT</pubDate>
<guid>http://snipplr.com/view/70109/person-age-function/</guid>
</item>
<item>
<title>(PHP) Get age in years - gummiost</title>
<link>http://snipplr.com/view/69290/get-age-in-years/</link>
<description><![CDATA[ <p>This function will get the age in years. It compares the inserted date with the current date and outputs the result.</p> ]]></description>
<pubDate>Fri, 28 Dec 2012 22:01:45 GMT</pubDate>
<guid>http://snipplr.com/view/69290/get-age-in-years/</guid>
</item>
<item>
<title>(MySQL) Age in Years for Given Birthdate - cahyadsn</title>
<link>http://snipplr.com/view/66321/age-in-years-for-given-birthdate/</link>
<description><![CDATA[ <p>Given a birthdate in @dob, here are two simple formulae for age in years :
(the second formulae is for age in years to two decimal places, ignoring day of month)</p> ]]></description>
<pubDate>Wed, 25 Jul 2012 13:31:22 GMT</pubDate>
<guid>http://snipplr.com/view/66321/age-in-years-for-given-birthdate/</guid>
</item>
<item>
<title>(JavaScript) Return Age from Date of Birth - StevenW721</title>
<link>http://snipplr.com/view/66067/return-age-from-date-of-birth/</link>
<description><![CDATA[ <p>Calculates the amount of time since the date specified with yr, mon, and day. The parameter "countunit" can be "years", "months", or "days" and is the duration between the specified day and today in the selected denomination. The "decimals" parameter allows you to set a decimal place to round to for days and months return values. Rounding is also meant for days and months and can be "roundup" or "rounddown" based solely on the properties of Math.ceil and math.floor respectively.
Sample - displayage(1997, 11, 24, "years", 0, "rounddown")</p> ]]></description>
<pubDate>Wed, 11 Jul 2012 07:47:51 GMT</pubDate>
<guid>http://snipplr.com/view/66067/return-age-from-date-of-birth/</guid>
</item>
<item>
<title>(JavaScript) Javascript Select Box - Age Loop - JonnyCraze</title>
<link>http://snipplr.com/view/63935/javascript-select-box--age-loop/</link>
<description><![CDATA[ <p>I hate manually entering in tons of numbers and tags for numbers, so I made a loop for it.</p> ]]></description>
<pubDate>Thu, 15 Mar 2012 03:22:01 GMT</pubDate>
<guid>http://snipplr.com/view/63935/javascript-select-box--age-loop/</guid>
</item>
<item>
<title>(PHP) Calculate age - bsuichies</title>
<link>http://snipplr.com/view/63911/calculate-age/</link>
<description><![CDATA[ <p>Calculate age in years based on a timestamp and a reference timestamp (which defaults to the current time when left empty)</p> ]]></description>
<pubDate>Wed, 14 Mar 2012 01:32:43 GMT</pubDate>
<guid>http://snipplr.com/view/63911/calculate-age/</guid>
</item>
<item>
<title>(PHP) Calculate Age using PHP (mounth-day-year to age) - i0ni</title>
<link>http://snipplr.com/view/58370/calculate-age-using-php-mounthdayyear-to-age/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 01 Sep 2011 17:58:55 GMT</pubDate>
<guid>http://snipplr.com/view/58370/calculate-age-using-php-mounthdayyear-to-age/</guid>
</item>
<item>
<title>(Visual Basic) Get purson's Actual Age in MyWay... - razmehra</title>
<link>http://snipplr.com/view/56051/get-pursons-actual-age-in-myway/</link>
<description><![CDATA[ <p>'Normally Peoples get the age of a person in standard 'way(Skipped Leap year's Days)...
'But in my code I'm trying to Getting the Actual Age Included 'Leap Years Days. I don't know I'm right or wrong.. but.. just 'try..</p> ]]></description>
<pubDate>Sun, 03 Jul 2011 05:57:53 GMT</pubDate>
<guid>http://snipplr.com/view/56051/get-pursons-actual-age-in-myway/</guid>
</item>
<item>
<title>(JavaScript) Calculate Age - jatkins</title>
<link>http://snipplr.com/view/52614/calculate-age/</link>
<description><![CDATA[ <p>Released into the public domain. This shouldn't be remotely relevant, but obviously this will not work BC years. Dates passed to the two params should be strings in the format YYYY-MM-DD. **Bugs fixed in 1/7/2012 version.**</p> ]]></description>
<pubDate>Wed, 27 Apr 2011 01:38:15 GMT</pubDate>
<guid>http://snipplr.com/view/52614/calculate-age/</guid>
</item>
<item>
<title>(PHP) Script para calcular la edad - jrobinsonc</title>
<link>http://snipplr.com/view/52400/script-para-calcular-la-edad/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 21 Apr 2011 04:42:10 GMT</pubDate>
<guid>http://snipplr.com/view/52400/script-para-calcular-la-edad/</guid>
</item>
<item>
<title>(JavaScript) Check Date of Birth - RuslanSavenok</title>
<link>http://snipplr.com/view/45901/check-date-of-birth/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 18 Dec 2010 07:46:28 GMT</pubDate>
<guid>http://snipplr.com/view/45901/check-date-of-birth/</guid>
</item>
<item>
<title>(PHP) Calcular edad según fecha - arucordoba</title>
<link>http://snipplr.com/view/45300/calcular-edad-segn-fecha/</link>
<description><![CDATA[ <p>int strtotime  ( string $time  [, int $now  ] )

Esta función espera que se proporcione una cadena que contenga un formato de fecha en Inglés US e intentará convertir ese formato a una fecha Unix (el número de segundos desde el 1 de Enero del 1970 00:00:00 UTC), relativa a la marca de tiempo dada en now, o la marca de tiempo actual si now no se proporciona.</p> ]]></description>
<pubDate>Sun, 05 Dec 2010 09:20:48 GMT</pubDate>
<guid>http://snipplr.com/view/45300/calcular-edad-segn-fecha/</guid>
</item>
<item>
<title>(jQuery) Validate an age using jQuery Validator plug-in - 1man</title>
<link>http://snipplr.com/view/43071/validate-an-age-using-jquery-validator-plugin/</link>
<description><![CDATA[ <p>Useful snippet i found on a forum, use it to check to see if a user is old enough to submit a form.</p> ]]></description>
<pubDate>Thu, 28 Oct 2010 01:22:57 GMT</pubDate>
<guid>http://snipplr.com/view/43071/validate-an-age-using-jquery-validator-plugin/</guid>
</item>
<item>
<title>(JavaScript) Canadian Age of majority - sandrews_06</title>
<link>http://snipplr.com/view/42303/canadian-age-of-majority/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 15 Oct 2010 02:02:59 GMT</pubDate>
<guid>http://snipplr.com/view/42303/canadian-age-of-majority/</guid>
</item>
<item>
<title>(PHP) Another way to calculate age, given a MySQL date format - phifty</title>
<link>http://snipplr.com/view/41057/another-way-to-calculate-age-given-a-mysql-date-format/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 27 Sep 2010 07:30:03 GMT</pubDate>
<guid>http://snipplr.com/view/41057/another-way-to-calculate-age-given-a-mysql-date-format/</guid>
</item>
<item>
<title>(PHP) PHP how to calculate age from date of birth - ginoplusio</title>
<link>http://snipplr.com/view/28090/php-how-to-calculate-age-from-date-of-birth/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 10 Feb 2010 05:01:47 GMT</pubDate>
<guid>http://snipplr.com/view/28090/php-how-to-calculate-age-from-date-of-birth/</guid>
</item>
<item>
<title>(Python) Enter your age. - louscomp</title>
<link>http://snipplr.com/view/24957/enter-your-age/</link>
<description><![CDATA[ <p>A program that asks the age and make a comment.</p> ]]></description>
<pubDate>Thu, 17 Dec 2009 11:49:06 GMT</pubDate>
<guid>http://snipplr.com/view/24957/enter-your-age/</guid>
</item>
<item>
<title>(Python) Generational backups of single file or directory, preserving extension - SimonTite</title>
<link>http://snipplr.com/view/22326/generational-backups-of-single-file-or-directory-preserving-extension/</link>
<description><![CDATA[ <p>Creates backups of "file.ext" in the form "file.Bx.ext", where Bx represents a sequential backup number from 1 (most recent) to 5 (oldest)

Put the following symbolic links in your path

    ln -s  path-to-this-file/age.py age
    ln -s path-to-this-file/age.py  sage
    ln -s path-to-this-file/age.py unage

Save the code as "age.py".</p> ]]></description>
<pubDate>Mon, 02 Nov 2009 11:41:04 GMT</pubDate>
<guid>http://snipplr.com/view/22326/generational-backups-of-single-file-or-directory-preserving-extension/</guid>
</item>
<item>
<title>(PHP) Dynamic age - AzizLight</title>
<link>http://snipplr.com/view/21926/dynamic-age/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 26 Oct 2009 18:00:54 GMT</pubDate>
<guid>http://snipplr.com/view/21926/dynamic-age/</guid>
</item>
<item>
<title>(C#) Fractional Age - calebt</title>
<link>http://snipplr.com/view/18560/fractional-age/</link>
<description><![CDATA[ <p>Calculates fractional age and takes leap years into accounts.  I've seen a lot of calculations that divide the total number of days old someone is by 365.25.  This fails if the person is born on a leap year and today is not a leap year as it would return a fractional value less than a whole number.</p> ]]></description>
<pubDate>Wed, 19 Aug 2009 13:44:51 GMT</pubDate>
<guid>http://snipplr.com/view/18560/fractional-age/</guid>
</item>
</channel>
</rss>