T(-) Countdown Control – Calculating Labor Day & Other Holidays


Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

Using the new %this year% and %this_easter% placeholders introduced with T(-) Countdown Control version 1.8.0, it’s easy to calculate holidays such as labor day like so:

Launch Strtotime: september %this_year% first monday
Wk.
4
5
Tage
0
6
Hours
0
3
Minutes
4
1
Seconds
3
1

As of version 1.8.2, using these shortcodes will automatically recalculate for next year’s date after the holiday has past. Holidays should be set as recurring ‘Yearly’ and they will automatically be rescheduled for next year.

Other Holidays can be calculated in the same manner:

  • New Years: first day of january %this_year%
  • Martin Luther King, Jr. Day: january %this_year% third monday
  • President’s Day: february %this_year% third monday
  • Easter: %this_easter%
  • Ascension Day: %this_easter% + 40 days
  • Pentecost: %this_easter% + 50 days
  • Memorial Day: last monday of may
  • Independence Day: july 4 %this_year%
  • Labor Day: september %this_year% first monday
  • Columbus Day: october %this_year% second monday
  • Veteran’s Day: november 11 %this_year%
  • Thanksgiving Day: november %this_year% fourth thursday
  • Christmas Day: december 25 %this_year%

Tests

Ascension Day

Wk.
-
2
5
9
9
Tage
-
5
Hours
-
2
Minutes
-
1
Seconds
-
2

Eight Days before Thanksgiving

november %this_year% fourth thursday + 14 hours 30 minutes – 8 days

Wk.
-
2
5
9
9
Tage
-
5
Hours
-
2
Minutes
-
1
Seconds
-
2

T(-) Countdown Control URL Redirect


Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

Test of a faster redirect when a countdown is already expired.

Wk.
0
0
Tage
0
0
Hours
0
0
Minutes
0
6
Seconds
3
1

Wk.
0
0
Tage
0
0
Hours
0
0
Minutes
0
6
Seconds
3
1

T(-) Countdown Control IP Address Tracking


Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

T(-) Countdown Control already has the ability to store a visitors calculated launch time to a cookie. As of version 1.7.7 we have added integration of a new add-on plugin T(-) Countdown Tracking. This new premium plugin adds the ability to save the visitors IP address in the database. More details to follow.

Test using Schedule:

[tminus cid="2022"/]

Wk.
0
0
Tage
0
0
Hours
1
3
Minutes
5
6
Seconds
3
1

Counting Down to Tue, 22nd October, 2019

Test using basic shortcode:

[tminus t="+2 minutes" id="test_counter" track_id="2571" /]

Wk.
0
0
Tage
0
0
Hours
0
0
Minutes
0
2
Seconds
0
0

No Tracking:

Tage
0
0
Hours
0
0
Minutes
0
2
Seconds
0
0

T(-) Countdown Cloud City Mobile Fix


Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

This is a test of the cloud-city style for T(-) Countdown to adjust the spacing issue on lower viewports.

Wk.
1
2
0
Tage
0
0
Hours
0
0
Minutes
0
0
Seconds
0
0

T(-) Countdown Control Timer Icon


Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

Tage
0
0
Hours
0
0
Minutes
0
0
Seconds
2
7

T(-) Countdown Control Duplicate Countdowns


Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 739

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 740

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 741

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 742

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 743

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 744

Warning: date() expects parameter 2 to be integer, string given in /var/www/vhosts/spacedonkey.de/httpdocs/wp-content/plugins/t-countdown-control/t-countdown-control.php on line 907

What happens when we display two of the exact same T(-) Countdown Control shortcodes on the same page?

Here is the first countdown:

[tminus cid="2022"]

Wk.
0
0
Tage
0
0
Hours
1
3
Minutes
5
6
Seconds
3
1

Counting Down to Tue, 22nd October, 2019

and Here is the second:

[tminus cid="2022" id="secondcountdown"]

Wk.
0
0
Tage
0
0
Hours
1
3
Minutes
5
6
Seconds
3
1

Counting Down to Tue, 22nd October, 2019

T(-) Countdown Control Omit Weeks

Way to omit weeks from the countdown:

a) Add the omitweeks=”true” attribute to your shortcode (if using a shortcode)
not working

b) tick the omitweeks box in the widget settings (if using a sidebar widget)

c) tick the omitweeks box in the T(-) Countdown Control options page.

Wk.
0
0
Tage
0
0
Hours
0
0
Minutes
0
0
Seconds
2
7