Re: BIRTHDAY TOPIC
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:
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.)
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.)