AdvSmoothDatePicker date format

When I set the date format for the AdvSmoothDatePicker to long date format I get an error "EVariantTypeCastError with message "could not convert variant of type (Unicode String) into type (Date)".

AdvSmoothDatePicker1.Format := 'dddd, dd MMMM, yyyy' does not work.  It does work for AdvDateTimePicker.
AdvSmoothDatePicker1.Format := 'dd MMMM, yyyy' does work.

Delphi XE; Windows 7; TMS 5.9

Any advice?  Thanks.

I am still seeing this error 11 years later.

I can't use any format that contains month or day names, only numbers.

For example -

AdvSmoothDatePicker.Format ="dd/mm/yy" is ok
"dd/mmmm/yy" is not ok.

I get the error as mentioned previously if using the long date format (dddddd).

For any other format that includes day or month names I get an exception "....is not a valid date" when clicking on the drop down arrow. Although if I then select a date in the calendar, that date then appears in the combobox correctly formatted.

VCL UI Pack, 10.5.9
Rad 10.4.2.

@Freeman_Robyn did you ever find a fix or work around for this? Thanks.

I tested this and this actually works.

image

There is indeed an exception but it is gracefully handled.
If you run the app from inside the IDE, the IDE will always show the exception but if you run this outside the IDE, it should work without any exception showing.