i want to separate date, month, time, hour, min ,sec getting from database, for count down timer,
in data base stored date is 2010/10/10:
me using this code :
$m=date('m',$row['Date']);
$d=date('d',$row['Date']);
output is month=31
date = 12….
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.
If you want them separetely, you can use the
explodefunction withlisteg:Also, you can use the
strtotimefunction for getting individual values: