Jump to content

Can not enter 31.12.9999 in UniDBDateTimePicker


marcus.bilan@gmx.de

Recommended Posts

Hello,

I need to enter 31.12.9999 in a UniDBDateTimePicker but it was automatically reset to 01.12.9999.

Even if the value in DB (SQL Server) is 31.12.9999, then the Picker shows everytime 01.12.9999.

Behavour in VCL Delphi TDateTimePicker is, that I can enter 31.12.9999. I need this for open end date.

Is there a fix? I use Personal_1.0.0.1378_RC

Greetings Marcus

Link to comment
Share on other sites

Thank You! I found the problem. Because I use for developing a German SQL Server and German Windows 7 and on productive system an American SQL Server with American Windows Settings, I had some problems with German Dates.

 

So I formatted TFields and TUniDBDateTimePicker with dd.mm.yyyy. But I shall use dd.MM.yyyy !

 

Changing this month-literal to MM solved the problem.

Thank You. uniGui - Great Framework!

  • Upvote 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...