Noah's profile picture

Published by

published
updated

Category: SpaceHey

How to display the current date on SpaceHey

If you check my profile on SpaceHey, you'll notice the bit that says "Today is " and then whatever the current date is.  I'm not updating this manually.  My profile contains the following:
Today is <span class="date"></span>.


4 Kudos

Comments

Displaying 6 of 6 comments ( View all | Add Comment )

Noah

Noah's profile picture

:O


Report Comment

An

An's profile picture

Nice! This comment was posted ;-)


Report Comment

alex

alex's profile picture

Sweet, cool that you found the source for it


Report Comment

Noah

Noah's profile picture

@ alex

Yeah, SpaceHey (at the moment) evaluates, client side, anything with the class date to have the current date as its contents.
See this script.


Report Comment

alex

alex's profile picture

I didn't know this, does this come from SpaceHey or from some obscure browser CSS thing? It's SpaceHey, right?

Time after time:





Report Comment

Noah

Noah's profile picture

Of course, you can also do it here!


Report Comment