I am afraid, but i am unable to find any function for this?
I can do this
echo date("Y-m-d g:i:s a", 1333442414662) . "\n";
but I am unable to find any function to convert time from function
date("Y-m-d H:i:s", time());
to unix timestamp
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.
It’s trivially easy as this: