I have a column that pulls in two dates, 1 of the dates has the correct date and time so I can easily compare the number of minutes between this date and GetDate() but some values have the date 01/01/1900 and then the time i need to use.
How can I do datediff but ignore the date and only use the times?
So
My date | 01/01/1900 14:25:00
GetDate() | 06/02/2014 14:26:00
Would give me 1 minute