<?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/year</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 12:07:10 GMT</pubDate>
<item>
<title>(JavaScript) dynamic current year with JavaScript - rumremix</title>
<link>http://snipplr.com/view/69286/dynamic-current-year-with-javascript/</link>
<description><![CDATA[ <p>Often on a page footer, we want a copyright date range starting with the year the website was launched and ending the current year. Doing this dynamically means no need to update on 1/1 every year. The js snippet below uses the server date to accomplish this.</p> ]]></description>
<pubDate>Fri, 28 Dec 2012 09:44:12 GMT</pubDate>
<guid>http://snipplr.com/view/69286/dynamic-current-year-with-javascript/</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>(PHP) Print Date PHP - ryarwood</title>
<link>http://snipplr.com/view/62861/print-date-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 30 Jan 2012 08:47:21 GMT</pubDate>
<guid>http://snipplr.com/view/62861/print-date-php/</guid>
</item>
<item>
<title>(PHP) PHP display date: year, month, day, time, etc. - jknight42</title>
<link>http://snipplr.com/view/62837/php-display-date-year-month-day-time-etc/</link>
<description><![CDATA[ <p>Just a few quick functions to display the date in PHP.</p> ]]></description>
<pubDate>Sun, 29 Jan 2012 09:12:35 GMT</pubDate>
<guid>http://snipplr.com/view/62837/php-display-date-year-month-day-time-etc/</guid>
</item>
<item>
<title>(JavaScript) Display Current Year - exo20811</title>
<link>http://snipplr.com/view/61370/display-current-year/</link>
<description><![CDATA[ <p>Place anywhere on page where the full year is needed.</p> ]]></description>
<pubDate>Thu, 01 Dec 2011 02:54:43 GMT</pubDate>
<guid>http://snipplr.com/view/61370/display-current-year/</guid>
</item>
<item>
<title>(PHP) Monthly archive divided by years - innerstorm</title>
<link>http://snipplr.com/view/60735/monthly-archive-divided-by-years/</link>
<description><![CDATA[ <p>created by Adi Dragus</p> ]]></description>
<pubDate>Fri, 11 Nov 2011 20:38:28 GMT</pubDate>
<guid>http://snipplr.com/view/60735/monthly-archive-divided-by-years/</guid>
</item>
<item>
<title>(PHP) check if the year is leap - BilalELMoussaoui</title>
<link>http://snipplr.com/view/56892/check-if-the-year-is-leap/</link>
<description><![CDATA[ <p>check if the year is leap</p> ]]></description>
<pubDate>Wed, 20 Jul 2011 07:44:23 GMT</pubDate>
<guid>http://snipplr.com/view/56892/check-if-the-year-is-leap/</guid>
</item>
<item>
<title>(PHP) Wordpress: Copyright Year Auto-Update - visualadvance</title>
<link>http://snipplr.com/view/49457/wordpress-copyright-year-autoupdate/</link>
<description><![CDATA[ <p>A quick way to have the year automatically update.</p> ]]></description>
<pubDate>Wed, 23 Feb 2011 03:53:54 GMT</pubDate>
<guid>http://snipplr.com/view/49457/wordpress-copyright-year-autoupdate/</guid>
</item>
<item>
<title>(PHP) Date in PHP - stephcode</title>
<link>http://snipplr.com/view/49382/date-in-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 22 Feb 2011 05:05:35 GMT</pubDate>
<guid>http://snipplr.com/view/49382/date-in-php/</guid>
</item>
<item>
<title>(PHP) Copy Year via WordPress - gabbo</title>
<link>http://snipplr.com/view/46715/copy-year-via-wordpress/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 07 Jan 2011 09:20:51 GMT</pubDate>
<guid>http://snipplr.com/view/46715/copy-year-via-wordpress/</guid>
</item>
<item>
<title>(JavaScript) Auto updated copyright year - mnstefan</title>
<link>http://snipplr.com/view/46444/auto-updated-copyright-year/</link>
<description><![CDATA[ <p>Use case:

* Paste the javascrit BEFORE the closing body tag ``</p> ]]></description>
<pubDate>Tue, 04 Jan 2011 04:10:09 GMT</pubDate>
<guid>http://snipplr.com/view/46444/auto-updated-copyright-year/</guid>
</item>
<item>
<title>(SQL) Year To Date - dotNetkow</title>
<link>http://snipplr.com/view/45376/year-to-date/</link>
<description><![CDATA[ <p>Generates a year-to-date string (ex: 2010-01-01) by appending the year to the first of the year.</p> ]]></description>
<pubDate>Tue, 07 Dec 2010 08:00:16 GMT</pubDate>
<guid>http://snipplr.com/view/45376/year-to-date/</guid>
</item>
<item>
<title>(PHP) Display current year in PHP - f6design</title>
<link>http://snipplr.com/view/42749/display-current-year-in-php/</link>
<description><![CDATA[ <p>Useful for displaying copyright notices on a website.</p> ]]></description>
<pubDate>Fri, 22 Oct 2010 10:22:35 GMT</pubDate>
<guid>http://snipplr.com/view/42749/display-current-year-in-php/</guid>
</item>
<item>
<title>(JavaScript) Year update for full (four digit) year or last two digits, with JavaScript - stephcode</title>
<link>http://snipplr.com/view/39866/year-update-for-full-four-digit-year-or-last-two-digits-with-javascript/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 02 Sep 2010 05:33:15 GMT</pubDate>
<guid>http://snipplr.com/view/39866/year-update-for-full-four-digit-year-or-last-two-digits-with-javascript/</guid>
</item>
<item>
<title>(PHP) PHP Days Ago Script - alvincrespo</title>
<link>http://snipplr.com/view/38732/php-days-ago-script/</link>
<description><![CDATA[ <p>Working on creating a 'days ago' script. I know some already exist, but I just want to know how to do it myself. I'm also incorporating leap year functionality and some utility functions that could be used on other projects.</p> ]]></description>
<pubDate>Mon, 09 Aug 2010 05:09:24 GMT</pubDate>
<guid>http://snipplr.com/view/38732/php-days-ago-script/</guid>
</item>
<item>
<title>(JavaScript) Get Current Year - batfan</title>
<link>http://snipplr.com/view/37925/get-current-year/</link>
<description><![CDATA[ <p>Great for use in site footers.</p> ]]></description>
<pubDate>Tue, 27 Jul 2010 05:43:59 GMT</pubDate>
<guid>http://snipplr.com/view/37925/get-current-year/</guid>
</item>
<item>
<title>(JavaScript) JS Dynamic Year (Copyright) - mennyj</title>
<link>http://snipplr.com/view/35861/js-dynamic-year-copyright/</link>
<description><![CDATA[ <p>JS to dynamically update year -- good for copyright.</p> ]]></description>
<pubDate>Fri, 18 Jun 2010 01:01:22 GMT</pubDate>
<guid>http://snipplr.com/view/35861/js-dynamic-year-copyright/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Get the Current Date in the Format YYMMDD (Reverse format) - adrianparr</title>
<link>http://snipplr.com/view/35512/as3-get-the-current-date-in-the-format-yymmdd-reverse-format/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 04 Jun 2010 09:59:49 GMT</pubDate>
<guid>http://snipplr.com/view/35512/as3-get-the-current-date-in-the-format-yymmdd-reverse-format/</guid>
</item>
<item>
<title>(PHP) Display Current Year with PHP - paulgrenwood</title>
<link>http://snipplr.com/view/27339/display-current-year-with-php/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 29 Jan 2010 18:30:15 GMT</pubDate>
<guid>http://snipplr.com/view/27339/display-current-year-with-php/</guid>
</item>
<item>
<title>(ActionScript 3) is leap year - jgillman</title>
<link>http://snipplr.com/view/23419/is-leap-year/</link>
<description><![CDATA[ <p>Simple function for AS3 (or anything else really) that takes a year and returns a boolean.</p> ]]></description>
<pubDate>Thu, 19 Nov 2009 16:18:57 GMT</pubDate>
<guid>http://snipplr.com/view/23419/is-leap-year/</guid>
</item>
</channel>
</rss>