The 404 module has received a security update for any version below v1.6!
If you are using this module on your website you are advised to upgrade the module as soon as possible!

Sorry, this page is only available in one language

Countdown

Suggested dropletname: Countdown

Published by: Jan Krümmel

This Droplet will display the number of days until an event.

$today = time();
$dayX = mktime(date('G'), date('i'), 0, $d_month,$d_day, $d_year);
return $txt1.' ' .round(($dayX-$today)/(3600*24),0).' '. $txt2;

Required parameters

d_day=(day)
d_month=(mont)
d_year=(year)
txt1=(text_before)
txt2=(text_after)

Example

[[countdown?d_day=25&d_month=12&d_year=2018&txt1=Only&txt2=until it is Christmas]]

The parameters are:

d_day : the day of the event
d_month : the month of the event
d_year : the year of the event
txt1: the text that will prefix the countdown value
txt2: the text that will be after the countdown value



« Previous droplet | Overview | Next droplet »