Manually writing an expiration code

I have created some courses, but I need them to expire at a given time...say one year from publish date. I wanted the project to stop and a message box to appear stating why the program isn't working.The CurrentDate and PublishDate do not seen to read the dates I enter correctly everytime. I was able to stop a program one day, but the next day it doesn't work. Also, because everyone can have the date setup differently on their computer this seems like it wouldn't work anyway.Is there any code I can manually enter into the first html page that will stop the project after a certain date?I have some programminng in C+, so it would be great if there was something similar to an "If Then" statement I could use. (i.e., if (CurrentDate - 365) >= PublishDate) then stop project and display message)).I am not familiar with javascript yet.Also, is there a way to set a variable equal to a predefined variable? The way it makes sense in the program just sets the variable to the letters of the predefined variable name. It seems that the variables are very limited to what they can do, and I am used to setting, altering and using them however I want.Another question, are there any "gotchas" when making a course SCORM compliant? That is my next task.I would appreciate any help with this.Thank you,WordtechPS I will probably have more questions later.

Discussions have been disabled for this post