BIRTHDAY TOPIC

Where everything ELSE happens.
Forum rules

This week's Header Video was submitted by Raiyuuni! Congrats for getting it featured ^^

You can also submit a video or vote others at Pick Your Own Header Video!
And you can discuss them on the Header Video Discussion

Re: BIRTHDAY TOPIC

Postby Doram » October 6th, 2017, 3:17 pm

What's that I hear? A good idea for a BBCode?

Doram heads for his favorite coding chair...

EDIT:

Doram wanders back.
I'll make a post later, but here it is to start playing now:

Code: Select all
I am [age]9/23/1978[/age].


I am .

Best part: The calculation is done each time the page is loaded and compares to the current date, so this is a set-and-forget works-forever kinda code.

If it acts wonky for you, try putting zeroes in ("09/01/2000"). (There's a warning on the JS docs I have, though it worked fine for me without zeroes on an old IE, and newer Chrome and Firefox.)
Martin Luther King Jr. wrote:Man must evolve, for all human conflict, a method which rejects revenge, aggression, and retaliation.
The foundation of such a method is love.
More words from a wise man on activism, terrorism, violence, and peace
User avatar
Doram
Global Moderator

 
Posts: 1524
Joined: February 22nd, 2010, 7:37 pm
Location: Wherever I'm needed.

Cookie
l.m: "For fixing the stuff I break, and for being the best Forum Dad. XOXO <3"

Thumbs Up given: 153 times
Thumbs Up received: 471 times

Re: BIRTHDAY TOPIC

Postby Kimonio » October 15th, 2017, 11:32 pm

I could kiss you for this.
Image

User avatar
Kimonio
Honorary Member

 
Posts: 2114
Joined: September 27th, 2009, 11:06 am
Location: In the absence of nothing

Thumbs Up given: 62 times
Thumbs Up received: 134 times

Previous

Return to Off-Topic