I currently have a database that has dates for employees who have taken some training i then have a relationship between the training course and the interval in which the training suffices for. Some having one year, two year, or more before they have to retake the training. As a supplement i have a script that checks the date the training needs to be renewed/retaken and then if that date is before the current date (which is global for all records obviously) the script will leave a comment in the comment section i have made that says Training needs renewal. So far everything works fine except that i think there is a problem with the current date,
because everything that needs to be renewed from the middle of june and before the script works properly by inserting the comment training needs to be renewed. But for dates mass mid june the script does not insert the comment of a renewal is needed, so the script should work for all days before and up to today. I thought there was an error of what was being entered as a global date but when i printed what the global date was it was correct.
Does anyone know what the problem is.
because everything that needs to be renewed from the middle of june and before the script works properly by inserting the comment training needs to be renewed. But for dates mass mid june the script does not insert the comment of a renewal is needed, so the script should work for all days before and up to today. I thought there was an error of what was being entered as a global date but when i printed what the global date was it was correct.
Does anyone know what the problem is.