The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Complete years between 2 dates

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Richard Jonas

Posts: 147
Nickname: rjonas
Registered: Nov, 2005

Richard Jonas is a .NET sofware developer living in the UK.
Complete years between 2 dates Posted: Mar 1, 2007 10:02 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Richard Jonas.
Original Post: Complete years between 2 dates
Feed Title: Richard Jonas
Feed URL: http://feeds.feedburner.com/blogspot/ouNA
Feed Description: Richard Jonas's blog about .NET, web development and agile methodologies.
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Richard Jonas
Latest Posts From Richard Jonas

Advertisement
A problem we have had calculating ages was due to it using the SQL Server "DateDiff" function. This counts the number of times a day crosses a boundary, e.g. DateDiff(year,'12/31/2006','1/1/2007') is 1, as it crosses the 2006-2007 boundary. DateDiff(year,'1/1/2006','12/31/2006') is 0 as it doesn't cross a year boundary. I have written a function "yeardiff", which calculates the number of...

Read: Complete years between 2 dates

Topic: Zanebug in German Universities Previous Topic   Next Topic Topic: RAPID for SharePoint - classification framework for taxonomies

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use