I need to parse string from datapicker to a DataTime object and save in Sqlite db
ex: “20/03/2012”
"20/03/2012".to_datetime – don’t work
Quetion closed DateTime.parse("12/12/2012") – helped!
Just in case if anybody runs in such issue as I
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.
1 Answer