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

date formate for scheduler navigator

1 Answer 69 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Ming Zhao
Top achievements
Rank 1
Ming Zhao asked on 07 Apr 2010, 06:32 PM
There is a date or date range on scheduler navigator to indicate the dates showing on the calendar.
The date is shown in a particular culture format such as 4/23/2010 ( mm/dd/yyyy) in U.S English.

How can make this date formate adjusted to a paritcular culture?
eg.  if the system is set up as Canada English, we want it to be 23/4/2010 (dd/mm/yyyy)

We try to do following but it does not work

Radscheduler1.Culture = Thread.CurrentThread.CurrentCulture

1 Answer, 1 is accepted

Sort by
0
Ming Zhao
Top achievements
Rank 1
answered on 07 Apr 2010, 07:01 PM
never mind.  we figure out how to do this:

 

this.radSchedulerNavigator1.DateFormat = Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern;

 

Tags
Scheduler and Reminder
Asked by
Ming Zhao
Top achievements
Rank 1
Answers by
Ming Zhao
Top achievements
Rank 1
Share this question
or