| Author: suresh kumar 30 Aug 2008 | Member Level: Bronze | Rating: Points: 4 |
hai... u can give like this dtp_Arrivdate_Single.Text = Date.Now.ToShortDateString or click in date time picker...then go to properties....in that in custom format u can manually declare ur format as mm/dd/yyyy..then in the same properties window set format option as custom.....
|
| Author: Appukuttan 01 Sep 2008 | Member Level: Diamond | Rating: Points: 2 |
Hi..
Datetime dDate=datetime.now;
string Date=dDate.tostring("MM/dd/yyyy");
Date will return only date with format MM/dd/yyyy format.
|