Current filter:
                                You should refresh the page.
                                Support Center
                                  • Hi

                                    I have just updated to v9.3.2 and have found all my dateedit controls are now showing the time as well despite all having the DisplayFormat, EditFormat & EditMask all being set to DateTime "d". Even setting them to use a custom format "dd/MM/yyyy" does not cahnge anything. Regardless of what is set, it is showing the date and time in General format.

                                    It would appear a defect has been introduced as this was fine in the previous version.


                                    Steps to Reproduce:

                                    Add a dataedit control, set the editvalue

                                    Actual Results:

                                    shows date/time ie "29/11/2009 12:00AM"

                                    Expected Results:

                                    to show the date only ie "29/11/2009"


                                Hello Troy,

                                Unfortunately, I can't replicate the problem. I have attached a sample project which works fine for me. Please change it to replicate the problem and send it to me.

                                I'm awaiting your response.



                                Hi Stan

                                I have been able to reproduce it using your sample project and have re-attached the code and a screenshot.
                                It only shows the date when the control is selected, but when selecting a different control, the time is also shown in the previous control



                                and the screenshot


                                Hi Troy,

                                Thank you for the attached project.

                                As I see from your sample, you set the DateEdit.EditValue property to a string. The DateEdit.EditValue property presumes getting/setting of the DateTime values.

                                Please change your code in a similar manner:

                                dateEdit1.EditValue = DateTime.Parse("2009-12-31 00:00:00.000"); dateEdit2.EditValue = DateTime.Parse("2009-12-25 00:00:00.000"); dateEdit3.EditValue = DateTime.Parse("2010-01-02 00:00:00.000");

                                I've modified your sample accordingly, and now it works as expected here. Please refer to the attached project.



                                Thanks, that sorted it out.

                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners