We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

GDBG. How can I show date and time in the data-cell?

By default it shows only date. I want to show date and time. But I can''t use StyleInfo.Format as then I must specify hard sequence like "mm:dd:yyyy" or "dd:mm:yyyy".

1 Reply

AD Administrator Syncfusion Team October 7, 2004 10:42 AM UTC

You can use any of these formatting characters which will delegate the formatting of Date and Time to the user''s regional settings. f F g G See ms-help://MS.VSCC.2003/MS.MSDNQTR.2003FEB.1033/cpguide/html/cpconstandarddatetimeformatstrings.htm. or http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vblr7/html/vafmtnameddateformats.asp

Live Chat Icon For mobile
Up arrow icon