Current filter:
                                You should refresh the page.
                                Support Center
                                  • Hi,
                                    i'm using a DateEdit in a cardView (with a layout) and i would like to store the date AND the time

                                    I'm using the property VistaDisplays and i can choose a time but the time remains to 0

                                    I have found the Q265208 subject but he don't fit because tle properties don't fit with a repositorydateitem

                                    How to show and SAVE the date AND the time in a dateedit ?


                                1 Solution

                                Creation Date Rating Importance Sort by

                                Hi Laurent,

                                Thank you for your question. By default, the DateEdit uses the short date pattern ("d") that skips the TIME part of the DateEdit value. I suggest that you change it to a general date/time pattern: "g". You can do this via the DateEdit.Properties.EditMask property.

                                Please try this solution, and let me know whether it helps.


                                • Laurent SANCHEZ 09.07.2011

                                  thanks for your answer but i have already used the "g" in the mask but the value of the time disappears (he become 00:00)

                                  PS : My field is an XPO property that is a datetime type

                                • Laurent SANCHEZ 09.07.2011

                                  thanks i have found

                                • Hi Laurent,

                                  I am glad to hear that you have found a solution. Please do not hesitate to contact us again, if you experience any difficulty when using our componetns.


                                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