Auto-update a copyright date post-build?
Auto-update a copyright date post-build?
Is there a way that I can use a copyright range such as 2013-2018 on the home page and have it change to 2013-2019 on Jan 1? A variable won't do that.
-
- Senior Propellus Maximus
- Posts: 2089
- Joined: Tue Mar 07, 2006 5:06 pm
- Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
- Contact:
Re: Auto-update a copyright date post-build?
My question has to be why?
Copyright applies to the date something was created or significantly updated, not automatically applied every year.
Not trying to teach my grandmother to suck eggs, just curious.
Copyright applies to the date something was created or significantly updated, not automatically applied every year.
Not trying to teach my grandmother to suck eggs, just curious.
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
-
- Senior Propellus Maximus
- Posts: 2632
- Joined: Wed Apr 14, 2010 8:01 am
- Location: Surrey, UK
Re: Auto-update a copyright date post-build?
Please excuse a facetious response, but would a calendar reminder be the appropriate solution? I'm afraid that's what we do! At the beginning of each year I go into my global project and change that date in one location, just once, and from then on the date flows out to the child projects the first time they're built.
Started as a newbie with Flare 6.1, now using Flare 2023.
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Report bugs at http://www.madcapsoftware.com/bugs/submit.aspx.
Request features at https://www.madcapsoftware.com/feedback ... quest.aspx
Re: Auto-update a copyright date post-build?
You can insert a
Open your variable set, click Add DateTime variable, and enter the variable format yyyy. You can choose if the date reflects the build date, file save date, etc.
Nope - a variable will do that.John Cook wrote:Is there a way that I can use a copyright range such as 2013-2018 on the home page and have it change to 2013-2019 on Jan 1? A variable won't do that.
Open your variable set, click Add DateTime variable, and enter the variable format yyyy. You can choose if the date reflects the build date, file save date, etc.
Re: Auto-update a copyright date post-build?
Steve: The reason is that our legal dept. wants us to do that. Not something I'm willing to die for.
Re: Auto-update a copyright date post-build?
Dave: I need it to update dynamically post-build. As I understand it, I need to use JavaScript. I asked one of our developers for help.
Re: Auto-update a copyright date post-build?
If anyone's interested, here's the code:
<script>document.write(new Date().getFullYear())</script>
<script>document.write(new Date().getFullYear())</script>