Hi!
I am trying to customize a DateTimePicker to show the whole date and time in a custom format.
I found a way to customize the ShortdatePattern and the shorttimePattern separatly, but I would really require the FullDateTimePattern to work, as I have the format in a string (date and time combined) and I don't want to split it. I am using Q12013 WFP RadDateTimePicker
dtp.SelectedValue = DateTime.Now;
dtp.Culture = new CultureInfo("")
{
DateTimeFormat =
{
FullDateTimePattern = "yyyy : MM : dd HH mm ss", //doesn't work
ShortDatePattern = "yyyy : MM : dd", //works
ShortTimePattern = "tt hh::mm::ss", //works
},
};
Thanks in advance,
Alex
I am trying to customize a DateTimePicker to show the whole date and time in a custom format.
I found a way to customize the ShortdatePattern and the shorttimePattern separatly, but I would really require the FullDateTimePattern to work, as I have the format in a string (date and time combined) and I don't want to split it. I am using Q12013 WFP RadDateTimePicker
dtp.SelectedValue = DateTime.Now;
dtp.Culture = new CultureInfo("")
{
DateTimeFormat =
{
FullDateTimePattern = "yyyy : MM : dd HH mm ss", //doesn't work
ShortDatePattern = "yyyy : MM : dd", //works
ShortTimePattern = "tt hh::mm::ss", //works
},
};
Thanks in advance,
Alex