sql server - How to change Date format to yyyy-mm-dd -


i want change output date format of parameter @dateissued "2013-12-31" format.

you can try this:

select convert(char(10), getdate(), 126) 

or in case:

select convert(char(10), @dateissued, 126) 

you can cast , convert


Comments

Popular posts from this blog

Hatching array of circles in AutoCAD using c# -

ios - UITEXTFIELD InputView Uipicker not working in swift -

Python Pig Latin Translator -