Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I have my PHP check the last modified time of the files and prints out the most recent month and year as the copyright.
-
Ah... but then timezones matter. If the client is a few hours behind the server, the copyright year will wrong and then there'll be all sorts of legal hell to pay or all sorts of opportunities for piracy to go unpunished.
I may have over-thought that. -
@jsmrcaga Yes, I know that. You have missed my poor attempt at a joke. #notacomedian
-
That's questionable ... Like are you joking ?
I mean if my time was set to 2011 it would use that... You mean server side code right, then it's fine?
Related Rants
!rant
To avoid updating your copyright dates on every website, write them with javascript.
undefined
dates
copyright
js
javascript