Hay, how can i turn a string like “04 Jan 2010” into a string like “1/4/2010”. Can i do this with the JS date object?
Thanks
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.
Perhaps Date.parse() is what you’re looking for?
If that doesn’t do it, then Datejs adds more robust parsing.