Page 11 of 11

Re: BIRTHDAY TOPIC

PostPosted: October 6th, 2017, 3:17 pm
by Doram
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.)

Re: BIRTHDAY TOPIC

PostPosted: October 15th, 2017, 11:32 pm
by Kimonio
I could kiss you for this.