I have a question about extracting just the date from date time, my end result must be date formatted excluding time.
For example - My date is 08/18/2009 12:00 AM, I just want to extract 08/18/2009 and this must be in Date format. I can use DATEPART function and finally cast it, but then I’m getting 08/18/2009 00:00:000
The requirement is that, users want to see only date.
Appreciate all your inputs. Thanks for reading this post.