DEV Community

Cover image for Never manually change your copyright date again with this innovative cloud-based API. πŸ—“
Adam Greenough
Adam Greenough

Posted on • Edited on

Never manually change your copyright date again with this innovative cloud-based API. πŸ—“

Fed up of changing your websites copyright date by hand EVERY year? Looking to offload complex date calculations to the cloud? Travelled here from the future and looking for a definitive confirmation of the current year? This FREE current year API is here to help.

https://current-year-api.addy.codes/

API Documentation

Basic Usage

If you don't need to factor in timezones and are content using UTC, the basic usage is the simplest way to get up and running with the Current Year API. Simply make a request to the API URL with your preferred method to receive the current year in JSON format.

https://current-year-api.addy.codes/what-year-is-it

Advanced Usage

For those that need accurate current year calculations based on timezone data, you can add a timezone parameter.

Read more...

PS. Just in case – yes, this is satire!

Top comments (6)

Collapse
 
jonrandy profile image
Jon Randy πŸŽ–οΈ

I'm really not sure if you're joking

Collapse
 
adamgreenough profile image
Adam Greenough • Edited

The terms of use should clear things up. But it's a sad time in webdev that it is hard to tell. πŸ˜†

Collapse
 
shirobachi profile image
Shirobachi

I Hope he's

Collapse
 
lionelrowe profile image
lionel-rowe

Now all you need is an NPM package for it.

Collapse
 
yashvant profile image
yashvant vala

What is the need of this, We can use Date object using javascript

Collapse
 
adamgreenough profile image
Adam Greenough

This is explained in the FAQ