In Chat #1:
In Old Chat #2:
  • Countdown BBCode feature 5 1
Currently:  

0 Members and 1 Guest are viewing this topic.

Tags (Stories Only Please!):

Author Topic: Countdown BBCode feature  (Read 245 times)

Offline Addie

  • Mistress Almighty Goddess, Gloria In Extremis
  • *
  • Gender: Female
  • Country: us
  • Posts: 3288
  • Rep: 799
    • RapeCage
Countdown BBCode feature
« on: March 01, 2015, 07:17:54 PM »
I'm test-driving this new feature. It shows the remaining time until the specified time and when reaches the specified time shows the text.

The format is like this:

Code: [Select]
[countdown=month, day, dow, hour, min, timezone]It's time![/countdown]
  • month : 1 through 12 or -1 within the next month, 0 for the current month
  • day : day of month [1, 31] or + day offset
  • dow : day of week sun=1 sat=7 or 0 for whatever day it falls on
  • hour : 0 through 23 for the hour of the day
  • min : 0 through 59 for minutes after the hour
  • timezone : offset in hours from UTC to your timezone [-12, +13]
So this:
Code: [Select]
[countdown=8,14,2015,13,23]It's time![/countdown]
results in this:
[countdown=8,14,2015,13,23]It's time![/countdown]



Without the hours and minutes:
[countdown=8,14,2015]Test![/countdown]

With time offset of -8:
[countdown=8,14,2015, -8]Test![/countdown]
« Last Edit: March 01, 2015, 07:46:57 PM by Addie »

 

Offsite Contacts Email Admins (Offsite) Admins Addie RayPistonprowl Global Moderators Ingenue Red Right Hand Moderators Surrender2U EssenceofRed kittyumbrass the savage Smirkin