There is “date_stamp” field in the database table. Field type is bigint(20).
I get this value in my code.
$dateStamp = $model->getDateStamp();
I need $dateStamp to be int or long. But It’s string. How can I force it to be int or long?
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.
As I need quick solution, I have maden new function in the model.