In drupal, I enabled Date module and added Date (Unix timestamp) to a content type, my question is instead of display the date how do I display the remaining time?
Highly appreciate your help!
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.
Try using format_interval() function.
You can put the following code in your theme’s template.php file:
Hope this helps… Muhammad.