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.
Unfortunately, activation email could not send to your email. Please try again.

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

Thread ID:





19994 Oct 7,2004 06:32 AM Oct 7,2004 06:42 AM Windows Forms 1
Tags: GridControl
Asked On October 7, 2004 06:32 AM

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".

Administrator [Syncfusion]
Replied On October 7, 2004 06:42 AM

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.