how to get only DATE without Time?
i use query select mydate from table
field mydate is DATETIME type and contains i.e 2002-01-01 13:45:34
i need to get only 2002-01-01 - what i have to do?
function DATEPART only gets the one part, i need to get YEARTODAY.
function CONVERT only uses predefined styles, why??? why i can't use like
this select FORMATDATE('yyyy-mm-dd', mydate) from .... ???
--
Adams