Skip to main content

Dan M.

Member since Dec 11, 2008

Recent Blog Comments By Dan M.

  • Getting Only the Date Part of a Date/Time Stamp in SQL Server

    Posted on Jun 3, 2008 at 3:26 PM

    I agree. That is the slickest solution. I actually just added it to my little toolbox of functions. CREATE FUNCTION fnShortDate(@date datetime) RETURNS datetime AS BEGIN declare @dateback datetime SELECT @dateback=DATEADD(DAY,DATEDIFF(DAY, 0, @date),0) return @dateback END GO so now I ca... read more »

  • Getting Only the Date Part of a Date/Time Stamp in SQL Server

    Posted on Mar 24, 2008 at 4:50 PM

    Thank you thankyou thankyou. What a pain in the butt. I had to get the invoices sent between 2 specific dates and the hours were really slowing things down... expecially the conversion back and forth for the criteria. I actually change the structure of the view I was using to draw data from in my... read more »

I believe in love. I believe in compassion. I believe in human rights. I believe that we can afford to give more of these gifts to the world around us because it costs us nothing to be decent and kind and understanding. And, I want you to know that when you land on this site, you are accepted for who you are, no matter how you identify, what truths you live, or whatever kind of goofy shit makes you feel alive! Rock on with your bad self!
Ben Nadel