<?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/time</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 17:21:15 GMT</pubDate>
<item>
<title>(SQL) sql time zone table by country/city - decahedronhotmailcom</title>
<link>http://snipplr.com/view/70872/sql-time-zone-table-by-countrycity/</link>
<description><![CDATA[ <p>Sql table with country codes coordinates timezone utc utc-dst
usefull if you want to have human friendly time zones like America/Los_Angeles</p> ]]></description>
<pubDate>Sun, 21 Apr 2013 14:18:25 GMT</pubDate>
<guid>http://snipplr.com/view/70872/sql-time-zone-table-by-countrycity/</guid>
</item>
<item>
<title>(C#) DateTime methods - strelaras</title>
<link>http://snipplr.com/view/70297/datetime-methods/</link>
<description><![CDATA[ <p>(more examples to be added)</p> ]]></description>
<pubDate>Wed, 06 Mar 2013 22:33:27 GMT</pubDate>
<guid>http://snipplr.com/view/70297/datetime-methods/</guid>
</item>
<item>
<title>(PHP) Convert Seconds into Time String in PHP - apphp-snippets</title>
<link>http://snipplr.com/view/70021/convert-seconds-into-time-string-in-php/</link>
<description><![CDATA[ <p>This function returns the duration of the given time period in days, hours, minutes and seconds. For example: echo convertSecToStr('654321'); would return "7 days, 13 hours, 45 minutes, 21 seconds"</p> ]]></description>
<pubDate>Wed, 20 Feb 2013 21:27:58 GMT</pubDate>
<guid>http://snipplr.com/view/70021/convert-seconds-into-time-string-in-php/</guid>
</item>
<item>
<title>(PHP) mtime: modified time - ryanve</title>
<link>http://snipplr.com/view/69668/mtime-modified-time/</link>
<description><![CDATA[ <p>Get modified time of a directory or file. For directories: it gets the modified time of the most recently modified file.</p> ]]></description>
<pubDate>Mon, 28 Jan 2013 10:20:20 GMT</pubDate>
<guid>http://snipplr.com/view/69668/mtime-modified-time/</guid>
</item>
<item>
<title>(PHP) Seconds to human readable time - mburica</title>
<link>http://snipplr.com/view/67723/seconds-to-human-readable-time/</link>
<description><![CDATA[ <p>Takes a # of seconds and converts it to human readable format.
If happened within seconds-years.</p> ]]></description>
<pubDate>Sat, 13 Oct 2012 09:54:04 GMT</pubDate>
<guid>http://snipplr.com/view/67723/seconds-to-human-readable-time/</guid>
</item>
<item>
<title>(JavaScript) Javascript using time to make GET POST calls no cache / random - kutyadog</title>
<link>http://snipplr.com/view/67343/javascript-using-time-to-make-get-post-calls-no-cache--random/</link>
<description><![CDATA[ <p>Simple code example that allows you to pull a time stamp / timestamp to attach to end of URL for GET POST calls</p> ]]></description>
<pubDate>Mon, 24 Sep 2012 22:10:19 GMT</pubDate>
<guid>http://snipplr.com/view/67343/javascript-using-time-to-make-get-post-calls-no-cache--random/</guid>
</item>
<item>
<title>(PHP) PHP Function to Convert 12 Hour Time to 24 Hour Format - kosinix</title>
<link>http://snipplr.com/view/67326/php-function-to-convert-12-hour-time-to-24-hour-format/</link>
<description><![CDATA[ <p>Convert 12-hour time format with hour, minutes, seconds, and meridiem into 24-hour  format. Performs data correction to make sure hours, minutes and seconds have leading zeros if needed.

The trick here is to use strtotime() where we pass the time string in this format: "hh:mm:ss meridiem" 
Example: "02:30:00 pm"</p> ]]></description>
<pubDate>Sun, 23 Sep 2012 10:29:48 GMT</pubDate>
<guid>http://snipplr.com/view/67326/php-function-to-convert-12-hour-time-to-24-hour-format/</guid>
</item>
<item>
<title>(C) Date format in C - mlecho</title>
<link>http://snipplr.com/view/66233/date-format-in-c/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 20 Jul 2012 05:21:09 GMT</pubDate>
<guid>http://snipplr.com/view/66233/date-format-in-c/</guid>
</item>
<item>
<title>(Maxscript) delayed keys float script expression for - reform</title>
<link>http://snipplr.com/view/66081/delayed-keys-float-script-expression-for/</link>
<description><![CDATA[ <p>Create a script controller
Create a variable called LinkObj
Select variable LinkObj, click assign node, and select the object you want to drive your animation from.
Paste the code into the expression box.
Edit the number of frames you want to offset by.</p> ]]></description>
<pubDate>Wed, 11 Jul 2012 23:50:23 GMT</pubDate>
<guid>http://snipplr.com/view/66081/delayed-keys-float-script-expression-for/</guid>
</item>
<item>
<title>(MySQL) MySQL Time Ago function - Jamie</title>
<link>http://snipplr.com/view/65651/mysql-time-ago-function/</link>
<description><![CDATA[ <p>Retrieves a relative time in a MySQL Query</p> ]]></description>
<pubDate>Sat, 16 Jun 2012 00:56:15 GMT</pubDate>
<guid>http://snipplr.com/view/65651/mysql-time-ago-function/</guid>
</item>
<item>
<title>(PHP) Set Timezone - ryarwood</title>
<link>http://snipplr.com/view/65570/set-timezone/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 13 Jun 2012 02:19:46 GMT</pubDate>
<guid>http://snipplr.com/view/65570/set-timezone/</guid>
</item>
<item>
<title>(PHP) PHP - Getting Yesterday\'s Date in PHP - satie83</title>
<link>http://snipplr.com/view/65560/php--getting-yesterdays-date-in-php/</link>
<description><![CDATA[ <p>Example calculate yesterday, but if you multiply by some number you can get in an easy way, weeks, months or years</p> ]]></description>
<pubDate>Tue, 12 Jun 2012 20:46:33 GMT</pubDate>
<guid>http://snipplr.com/view/65560/php--getting-yesterdays-date-in-php/</guid>
</item>
<item>
<title>(Windows PowerShell) Measuring a command with console output in PowerShell - jarnaldich</title>
<link>http://snipplr.com/view/65549/measuring-a-command-with-console-output-in-powershell/</link>
<description><![CDATA[ <p>This times the execution of a Command. The Out-Default part is just to print the command output to console.</p> ]]></description>
<pubDate>Tue, 12 Jun 2012 05:03:48 GMT</pubDate>
<guid>http://snipplr.com/view/65549/measuring-a-command-with-console-output-in-powershell/</guid>
</item>
<item>
<title>(PHP) idle time - eluzano</title>
<link>http://snipplr.com/view/64919/idle-time/</link>
<description><![CDATA[ <p>//Set idle time</p> ]]></description>
<pubDate>Fri, 18 May 2012 01:03:59 GMT</pubDate>
<guid>http://snipplr.com/view/64919/idle-time/</guid>
</item>
<item>
<title>(PHP) PHP5 DateTimeZones grouped by continent - ch1902</title>
<link>http://snipplr.com/view/64847/php5-datetimezones-grouped-by-continent/</link>
<description><![CDATA[ <p>This is the list of [supported timzones](http://php.net/manual/timezones.php) that can be used with the [PHP5 DateTime](http://php.net/manual/class.datetime.php) class, grouped by geographical continent (rather than PHP's America/..., Asia/... etc identifiers). 

The array was built using the [DateTimeZone::getLocation()](http://php.net/manual/datetimezone.getlocation.php) method and [this list](http://en.wikipedia.org/wiki/List_of_sovereign_states_and_dependent_territories_by_continent_%28data_file%29) of ISO-3166-1 country codes (correcting for countries that straddle the Europe/Asia border, e.g. Russia).</p> ]]></description>
<pubDate>Sat, 12 May 2012 22:39:08 GMT</pubDate>
<guid>http://snipplr.com/view/64847/php5-datetimezones-grouped-by-continent/</guid>
</item>
<item>
<title>(JavaScript) Calendar object - Pjotor</title>
<link>http://snipplr.com/view/64617/calendar-object/</link>
<description><![CDATA[ <p>Returns a nice little calendar object with month name, week day, month, year, date, days in month, day of week and position in month from now or supplied Date.</p> ]]></description>
<pubDate>Mon, 16 Apr 2012 22:29:58 GMT</pubDate>
<guid>http://snipplr.com/view/64617/calendar-object/</guid>
</item>
<item>
<title>(PHP) Display date using the_time() function - paul0078</title>
<link>http://snipplr.com/view/64583/display-date-using-thetime-function/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 15 Apr 2012 20:15:57 GMT</pubDate>
<guid>http://snipplr.com/view/64583/display-date-using-thetime-function/</guid>
</item>
<item>
<title>(HTML) time element - paul0078</title>
<link>http://snipplr.com/view/64574/time-element/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 15 Apr 2012 20:11:12 GMT</pubDate>
<guid>http://snipplr.com/view/64574/time-element/</guid>
</item>
<item>
<title>(Bash) Sync Clock on Unix System - jerryvig</title>
<link>http://snipplr.com/view/64101/sync-clock-on-unix-system/</link>
<description><![CDATA[ <p>The command below should sync the clock on a unix server to the US timeservers at us.pool.ntp.org.</p> ]]></description>
<pubDate>Thu, 22 Mar 2012 19:08:53 GMT</pubDate>
<guid>http://snipplr.com/view/64101/sync-clock-on-unix-system/</guid>
</item>
<item>
<title>(PHP) [PHP] simpletimes function - visionlighter</title>
<link>http://snipplr.com/view/64004/php-simpletimes-function/</link>
<description><![CDATA[ <p>A useful function for different formats of time or if you are dealing with time in PHP code.</p> ]]></description>
<pubDate>Sat, 17 Mar 2012 17:18:00 GMT</pubDate>
<guid>http://snipplr.com/view/64004/php-simpletimes-function/</guid>
</item>
</channel>
</rss>