String=”880814″ now i want to display this string as 88/08/14 by either means
- either by parsing it into Datetime
- or simply by inserting “/” in b/w
How????
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The simplest thing to do is to insert the
/to the string if you simply want to output a string with them:I don’t see the point of parsing the string into a
DateTimejust to output it again to a string, unless you need to validate the string as a valid date and possibly make sure that you can change the formatting easily.