Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
the code form the document.
<?php
echo theme('jquery_countdown', array(
'since' => date("F d, Y g:i a", mktime(0,0,0,0,0,2009)),
'format' => 'YOWDHMS',
'description' => t('Since New Year'),
));
?>
when i put this code in the story, and change the mktime(0,0,0,10,20,2013)set the input type to php,but it can't work, why.
Comments
Comment #1
ulsc CreditAttribution: ulsc commentedchange "since" to "until" then it will work.
Comment #2
Letharion CreditAttribution: Letharion commentedI'm using D7, and the example doesn't work at all. Perhaps the API has just changed since then. This got things working for me.
Comment #3
Letharion CreditAttribution: Letharion commented