Datetime format and Sql

Last week, I posted something about Datetime format and SQL, something to help SQL understand any international date format.

Well Jerry Pisk is right, his method is shorter. Use Mydate.ToString("yyyyMMdd"). Short and efficient.

Now just a note to Jerry: no need to use a bossy tone to explain something ! We all learn every day :-)

And yes Jerry I use parameters and not query strings in my code.

Things said nicely are always easier to swallow !

 

 

1 Comment

  • Well, those comments were about as nice as I get, I really thought I wasn't too harsh. I do get worked up when I see somebody recommending something stupid but your articles are very good so I tried to tone it down. Obviously it still came out too strong... Sorry.

Comments have been disabled for this content.