jptec Posted January 13, 2017 Posted January 13, 2017 HI, I come into a strange issue on UniDateTimePicker. below is the Setting of my UniDateTimePicker. object UniDateTimePicker1: TUniDateTimePicker Left = 168 Top = 8 Width = 120 DateTime = 42748.000000000000000000 DateFormat = 'dd/mm/yyyy' TimeFormat = 'HH:mm:ss' TabOrder = 3 end But the validation show me a different date format error. The format is m/i/yyyy , why it will go to "i", what is it for? when I click the calendar and select, it show out 13/00/2017 but it should 13/01/2017. Please advise how to solve. delphi 2010 uniGUI version:0.99.96.1343 Quote
Sherzod Posted January 13, 2017 Posted January 13, 2017 Hi, Can you make a small testcase for this issue, if possible?! Thanks. Best regards. Quote
jptec Posted January 13, 2017 Author Posted January 13, 2017 Thanks you quick reply. During the creation of the testing case. I find the error. it is the DateFormat = 'dd/mm/yyyy' . 'dd/MM/yyyy' << this is correct. 'dd/mm/yyyy' << this trigger the error show in post Quote
Sherzod Posted January 13, 2017 Posted January 13, 2017 Yes, http://forums.unigui.com/index.php?/topic/7240-tunidatetimepicker/&do=findComment&comment=36909 http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/delphivclwin32/ComCtrls_TDateTimePicker_Format.html Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.