﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" version="2.0"><channel><title>SQLServerCentral.com Content tagged Datetime Manipulation, T-SQL</title><link>http://www.sqlservercentral.com/</link><description>Content tagged Datetime Manipulation, T-SQL posted on SQLServerCentral.com</description><language>en-us</language><ttl>360</ttl><managingEditor>sjones@sqlservercentral.com (Steve Jones)</managingEditor><item><title>SQL Server Function to Determine a Leap Year</title><description>I need to write a function to determine if particular year is a leap year (i.e. February contains 29 days rather than 28 days). I know that there are various rules for calculating leap years. Is there an easy way to figure this out? Can you provide an example or two to validate various years?</description><guid>http://www.sqlservercentral.com/redirect/articles/63531/</guid><pubDate>2008/07/14</pubDate><link>http://www.sqlservercentral.com/redirect/articles/63531/</link></item><item><title>Different Date Formats</title><description>You Can Find Some Date Functions and extracting the different Date Formats using the Convert and Cast</description><guid>http://www.sqlservercentral.com/scripts/Datetime+Manipulation/61393/</guid><pubDate>2008/02/01</pubDate><link>http://www.sqlservercentral.com/scripts/Datetime+Manipulation/61393/</link></item><item><title>Payment due date function</title><description>Calculates the nth due date for any given date, while accounting for weekends.</description><guid>http://www.sqlservercentral.com/scripts/User-defined+function/61300/</guid><pubDate>2007/12/03</pubDate><link>http://www.sqlservercentral.com/scripts/User-defined+function/61300/</link></item><item><title> Working with Time Spans and Durations in SQL Server</title><description>What is the best way to return the &amp;quot;duration&amp;quot; of an event in SQL, given the start and end datetime values? How can we add up these durations to return grand totals? What data types should be used to return this data to our clients? How do we handle overflows, such as when hours go over 23 or minutes total up to over 59? Are there any T-SQL functions or other techniques that are useful in these scenarios? </description><guid>http://www.sqlservercentral.com/redirect/articles/61336/</guid><pubDate>2007/10/24</pubDate><link>http://www.sqlservercentral.com/redirect/articles/61336/</link></item></channel></rss>