/countdown

Website to display a countdown timer to a specified date.

Primary LanguagePHP

Countdown Timer

Website to display a countdown timer to a specified date.

Create a countdown using the UI

View the demo at http://eyl327.mywebcommunity.org/countdown/

Create a countdown by passing url parameters

Fields:

  • d - date and time in the format "YYYYMMDDTHHmm" (ex. 20201231T1300 for 31st of December, 2020 at 1 pm.)
  • tz - timezone offset from UTC (ex. -7 for MST)
  • msg - message to display above the countdown (ex. "Countdown to Deadline")
  • font - a font available from fonts.google.com (ex. "Roboto")
  • bg - background image url (ex. https://i.imgur.com/HcD6od4.jpg) or hex code preceded by %23 (ex. %23111111 for #111111)

Example:

http://eyl327.mywebcommunity.org/countdown/?d=20201231T2359&tz=%2B3&msg=New%20Year%27s%20Eve&font=Righteous&bg=https%3A%2F%2Fi.imgur.com%2FHcD6od4.jpg

Screenshots

Create a Countdown

Countdown 1

Countdown 2

Countdown 3