do tej pory
string iDate = "05/05/2005";
DateTime oDate = Convert.ToDateTime(iDate);
MessageBox.Show(oDate.Day + " " + oDate.Month + " " + oDate.Year );
Gorgeous Gaur
string iDate = "05/05/2005";
DateTime oDate = Convert.ToDateTime(iDate);
MessageBox.Show(oDate.Day + " " + oDate.Month + " " + oDate.Year );
# app.py
from datetime import datetime
date_str = '10-27-2020'
dto = datetime.strptime(date_str, '%m-%d-%Y').date()
print(type(dto))
print(dto)
var myDate = new Date("2013/1/16");
var str = "2013/1/16";
var strToDate = new Date(str);
cr_date = '2013-10-31 18:23:29.000227'
cr_date = datetime.datetime.strptime(cr_date, '%Y-%m-%d %H:%M:%S.%f')
cr_date = cr_date.strftime("%m/%d/%Y")