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

Formatting Text in a label

I have a label form that is being populated from a database. The field that the label is bound to is a dateTime field. I would like to format the label.Text field so that it just displays the date in the format mm/dd/yyyy. Instead the text has the date and the time. So, how do I format the label.Text field? Thanks. Jim

Loader.
Live Chat Icon For mobile
Up arrow icon