How set start date in TAdvSmoothDatePicker.Calendar

Good afternoon,
there's a way to set a custom start date when, in TAdvSmoothDatePicker, i click on the "down" button?

This is the situation before click on the down buttom
image

and this is the calendar when it is showed

The calendar is "open" always to the current date (today) and not to the month setted in the date property but keep the day rigth.
What i miss ??

Thank you for the attention

Best regards
Daniele

I cannot see this behavior here:

When setting the date in code:

begin
  AdvSmoothDatePicker1.Date := EncodeDate(2026, 4, 15);
end;

it opens the calendar as expected on April

What are you doing different from this?

Good morning Bruno,
thank you for reply ...

I do nothing special ....

In the project attached there is only TAdvSmoothDatePicker, i change the date via calendar (i.e. 10/08/2026), as expected the new date is the selected one.
Now, when i open the calandar again with the down button, it is open with the rigth day but the wrong months.

Start

Selecting date

reopening the calendar


It's point to correct day but wrong months. This happend even if change the year, meaning selected date via calendar 10/08/2025, reopen the calendar pressing down button, it's will opne to right day (10) wrong month (11) rigth year (2025).

After little investigation, the problem seem to be here

function ParseStringToDateTime(
  const AText: string;
  const AFormat: string): TDateTime;
var
  LFormatSettings: TFormatSettings;
begin
  LFormatSettings := TFormatSettings.Create; 
   
  Result := ParseStringToDateTime( // call other function
    AText,
    AFormat,
    LFormatSettings
  );
end;

function ParseStringToDateTime(
  const AText: string;
  const AFormat: string;
  const AFormatSettings: TFormatSettings): TDateTime;
begin
  if not TryParseStringToDateTime( // Here the month change ....
    AText,
    AFormat,
    AFormatSettings,
    Result
  ) then
  begin
    raise EConvertError.CreateFmt(
      'Cannot parse "%s" using date/time format "%s"',
      [AText, AFormat]
    );
  end;
end;

The problem is generate in "mm" token ...

Excuse me for long reply ...

Best Regards
Daniele

Calendario.zip (76.5 KB)

Could not reproduce. VCL UI Pack last version/Delphi 12.
It works well. Could you check your pc regional settings if there's something weird?

Is this the latest version 13.8.0.0 of TMS VCL UI Pack?
What is your machine date format? Is this format dd/mm/yyyy ?

Good afternoon Bruno,
yes the date format is dd/mm/yyyyy.
After reinstall vcl ui pack to last version via TMS Smart Setup, all is working well.
I can't understand why something like this happened.

Thank you for your help.

Best regards

Daniele