Say hello to GlobalClocks!
I was lurking on the internet to see the difference between 2 times. I found nothing, and so I made GlobalClocks in 15 minutes.
Usage
Create a JSON with {"date":/* the date it happened */,"title":/*the title of this difference*/}
and replace /* the date it happened */
with the date in Javascript form, and /*the title of this difference*/
with a string of the title. Then encode this text into a URI, and place it after the hashtag in the URL. e.g. {"date":"2000-01-01T00:00:00","title":"Time since 2000"}
into URI is %7B%22date%22%3A%222000-01-01T00%3A00%3A00%22%2C%22title%22%3A%22Time%20since%202000%22%7D
. Place it after the hash and there you go! Here it is in action.
Currently, it only abbreviates Days Hours Minutes Seconds, but I will add Months and Years eventually. There are probably a million tools like this that exist already, but I couldn't find it fast enough. Too bad!
Ok, so I'm debating whether I should add proper support for countdowns. I mean, technically it has countdowns if you set a date in the future, but it looks pretty ugly. Also, I fixed some grammar issues.
No comments:
Post a Comment