DECLARE @a datetime SET @a = '2011-6-21' SELECT DATEADD(...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Poker Meta

Q&A about the site for serious players and enthusiasts of poker

DECLARE @a datetime
SET @a = '2011-6-21'

SELECT DATEADD(YEAR, DATEDIFF(month, '19000701', @a) / 12, '19000701')

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results