Created
March 30, 2014 17:44
-
-
Save AshikNesin/9876640 to your computer and use it in GitHub Desktop.
Convert Date to DD/MM/YYYY format in C#
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DateTime date = DateTime.Today; | |
int day = date.Day; | |
int month = date.Month; | |
int year = date.Year; | |
txtTodayDate.Text= (day.ToString() + "/" + month.ToString() + "/" + year.ToString()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment