Date Format Syntax
I want to display a date selected from a calendar control in a textbox with the following format:
mmm/dd/yyyy
Ex.) Aug 23, 2006
I have this right now:
txtDate.Text = Calendar1.SelectedDate.ToString()
-- displays 11/7/2006
What would the correct syntax be?
|