Skip to main content

Nick Kleinjan

Member since Mar 10, 2011

Recent Blog Comments By Nick Kleinjan

  • Ask Ben: Selecting Parts of a Date/Time Stamp In SQL

    Posted on Mar 10, 2011 at 4:18 PM

    This probably isn't the most elegant way to get a 2 digit formatted month in sql, but I've used something like this in the past. Convert the date to a string, then pull out the parts you need as a substring. Select SubString(Convert(Char(10), GetDate(), 102), 6, 2)... 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