# Copyright and Year script for your footer

**URL:** <https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867>\
**Category:** RapidWeaver Classic\
**Created:** [January 7, 2017, 5:55pm UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867 "2017-01-07T17:55:50Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dave/32/147_2.png) [@dave](https://forums.realmacsoftware.com/u/dave)\
**Post date:** [January 7, 2017, 5:55pm UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/1 "2017-01-07T17:55:50Z")

</div>

Now that a new year is upon us, it’s time to update the footer on your sites to reflect the new year. Rather than insert the date, though, use this auto-updating script and forget about it. Each year, on January 1st, the date will roll over to the new year. (the `&copy;` = copyright)

`&copy; <script>document.write(new Date().getFullYear())</script>`

---

<div class="post-metadata">

**Author:** ![grajay](https://avatars.discourse-cdn.com/v4/letter/g/71e660/32.png) [@grajay](https://forums.realmacsoftware.com/u/grajay)\
**Post date:** [January 8, 2017, 8:05am UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/2 "2017-01-08T08:05:20Z")

</div>

> [@dave](#):
>
> © \<script\>document.write(new Date().getFullYear())\</script\>

It’s great little piece of script and saved faffing about every year. Thanks @dave

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [January 8, 2017, 1:00pm UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/3 "2017-01-08T13:00:04Z")

</div>

Nice time saver if you’re going to change your date, but you may want to at least add the original year of copyright. Oldest date wins in copyright disputes.

> <https://stackoverflow.com/questions/2390230/do-copyright-dates-need-to-be-updated>

---

<div class="post-metadata">

**Author:** ![Gabrielle](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/gabrielle/32/183_2.png) [@Gabrielle](https://forums.realmacsoftware.com/u/Gabrielle)\
**Post date:** [January 12, 2017, 11:39am UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/4 "2017-01-12T11:39:45Z")

</div>

I agree with you @teefers, I always though that copyright pertains to the year the site was created, therefore you have ‘protected’ the site from it’s conception forward.

---

<div class="post-metadata">

**Author:** ![dave](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dave/32/147_2.png) [@dave](https://forums.realmacsoftware.com/u/dave)\
**Post date:** [January 12, 2017, 1:42pm UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/5 "2017-01-12T13:42:53Z")

</div>

I can’t speak for other countries, but from a US perspective, straight from the source at [copyright.gov](http://www.copyright.gov/circs/circ03.pdf), **US law no longer requires the use of a copyright notice**.

So, there you go - you don’t _need_ a copyright notice at all if you’re in the US. I keep mine up-to-date simply because I like the look of it better than a date that’s three or four years old.

---

<div class="post-metadata">

**Author:** ![fergus\_black](https://avatars.discourse-cdn.com/v4/letter/f/0ea827/32.png) [@fergus\_black](https://forums.realmacsoftware.com/u/fergus_black)\
**Post date:** [January 4, 2021, 9:50pm UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/6 "2021-01-04T21:50:55Z")

</div>

Many thanks, Dave.

---

<div class="post-metadata">

**Author:** ![nemens](https://avatars.discourse-cdn.com/v4/letter/n/3be4f8/32.png) [@nemens](https://forums.realmacsoftware.com/u/nemens)\
**Post date:** [January 7, 2021, 3:54pm UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/7 "2021-01-07T15:54:14Z")

</div>

Thanks for sharing!

---

<div class="post-metadata">

**Author:** ![rhriley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/rhriley/32/25844_2.png) [@rhriley](https://forums.realmacsoftware.com/u/rhriley)\
**Post date:** [March 29, 2024, 3:02am UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/8 "2024-03-29T03:02:42Z")

</div>

I’m new to RapidWeaver and having read this thread, I’m wondering if there is an add-on that allows me to insert a date and time in a footer, or perhaps on the index page? Example format: 29 March 2024. 13:02

---

<div class="post-metadata">

**Author:** ![Bruno](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruno/32/25457_2.png) [@Bruno](https://forums.realmacsoftware.com/u/Bruno)\
**Post date:** [March 29, 2024, 5:05am UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/9 "2024-03-29T05:05:04Z")

</div>

Hi, in fact there’s a lot. Maybe you could give a look to the [rapidweavermarketplace](https://marketplace.realmacsoftware.com/).

---

<div class="post-metadata">

**Author:** ![jbob](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jbob/32/31581_2.png) [@jbob](https://forums.realmacsoftware.com/u/jbob)\
**Post date:** [March 29, 2024, 8:32am UTC](https://forums.realmacsoftware.com/t/copyright-and-year-script-for-your-footer/11867/10 "2024-03-29T08:32:02Z")

</div>

Fab - thank you !!
