I am storing date from datetimepickercontrol in variable
using

string s = "";
s = dateTimePicker1.Value.ToShortDateString();

Output = 7/13/2011
But i want 2011/7/13
How can i achieve the same

I got the solution
Did bit R&D

DateTime vardate1;
            DateTime vardate2;

            vardate1 = dateTimePicker1.Value;
            vardate2 = dateTimePicker2.Value;

            string frmDate = "";
            string toDate = "";
            string InitialName = Initial_NametextBox.Text;

            frmDate = vardate1.ToString("yyyy-MM-dd");
            toDate = vardate2.ToString("yyyy-MM-dd");