SQL Date from DateTime

Extract Date from Datetime field in SQL
An old method I found in my archive.

CodeFunctionName
What is this?

Public

Not Tested

Imported


Select convert(datetime,convert(char(10),getdate(),101))

Views 228

Downloads 66

CodeID
DB ID