Aaron
Member since Oct 4, 2012
- Profile: /members/10328-aaron.htm
- Comments: 1
Recent Blog Comments By Aaron
-
Getting Only the Date Part of a Date/Time Stamp in SQL Server
Posted on Oct 4, 2012 at 2:16 PM
I use this, works in SQL Server. First you get the date into the string format you want, then cast it date. cast(convert(varchar(10),getdate(),101) as datetime)... read more »