 such things like copyright dates ages etc can cause problems on websites unless they are dynamic for example i have my age in the little about me blurb in the sidebar i made a little function to calculate my age so that i dont have to go in every year on my birthday and add another year to my age the function function age $bmonth $bday $byear $cmonth = date n $cday = date j $cyear = date y if $cmonth = $bmonth $cday = $bday $cmonth $bmonth return $cyear $byear else return $cyear $byear 1 this function takes 3 arguments the birth month the birth day and the birth year it will return the calculated age it obviously wont work with an age in the future it will return a negative number i could add in checking to see if its a valid date but i dont think its really necessary check out some examples nothing too complicated let me know if anyone has any suggestions to shorten the code 