This is a migrated thread and some comments may be shown as answers.

Displaying a raddatepicker in ToShortDateString() format

1 Answer 73 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
Bernie Bialt
Top achievements
Rank 1
Bernie Bialt asked on 16 Sep 2008, 07:58 PM
 I need to access just the date portion of the raddatetimepicker value for printing purposes.

When I print the date I get 9/15/2007 12:00:00 AM. I do not need or want the time to print.

Any ideas?

Thanks

BB

1 Answer, 1 is accepted

Sort by
0
Bernie Bialt
Top achievements
Rank 1
answered on 16 Sep 2008, 08:18 PM

Just needed to dig a little deeper, I got it: 

this.datEffective.SelectedDate.Value.ToShortDateString()

Tags
Calendar
Asked by
Bernie Bialt
Top achievements
Rank 1
Answers by
Bernie Bialt
Top achievements
Rank 1
Share this question
or