This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
Try DateTimeParse using the format of your current string (e.g. slashes, not dashes). That will give you your DateTime format. Please note that the DateTime data type is not display specific. If you want it to display in a different format (e.g. dashes, not slashes), then use DateTimeFormat, which will give you a string in your desired display format.