jptec Posted January 13, 2017 Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted January 13, 2017 Share Posted January 13, 2017 Hi, Can you make a small testcase for this issue, if possible?! Thanks. Best regards. Quote Link to comment Share on other sites More sharing options...
jptec Posted January 13, 2017 Author Share 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 Link to comment Share on other sites More sharing options...
Sherzod Posted January 13, 2017 Share 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 Link to comment Share on other sites More sharing options...
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.