I was using CI as my framework. How can I set a CONSTANT date format so that I don’t need to change and search for date("y-m-d") in all file?
I was using CI as my framework. How can I set a CONSTANT date
Share
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.
Put this is a common header file:
To use the constant:
To format
2010-11-10 10:12:11todate(m.d.y):