How to format date without need to use the select box

How to format date without need to use the select box


Hi i want to change the date format without using the select box in
the form.How to do it?
i want to set yy-mm-dd as the default format for date.