I have a datetime field that I want to convert to dd/mm/yyyy format in my query. I have tried to cast as varchar for dd, mm, yyyy, but I don't get the leading zeroes. Can anybody help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.