I’ve got an oracle Database with an TIMESTAMP (6) WITH LOCAL TIME ZONE column that returns me values like this:
20-FEB-12 11.41.17.799000 AM
How can i parse those into a normal unix timestamp in PHP?
strtotime() doesn’t work (returns false)
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.
I just found i can use
TO_CHARto turn the Timestamp into something more parseable within the database query.There is a description here: http://infolab.stanford.edu/~ullman/fcdb/oracle/or-time.html