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

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

Thread ID:





19994 Oct 7,2004 10:32 AM UTC Oct 7,2004 10:42 AM UTC WinForms 1
Tags: GridControl
Asked On October 7, 2004 10:32 AM UTC

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


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon 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.Close Icon

Live Chat Icon For mobile
Live Chat Icon