I have created a grade book for myself to record my student's math grades. I want to compare the date that I gave the assignment with the quarter's beginning and ending date to show all grades for a given quarter.
...
if ( $assgndate >= $begdate && $assigndate <= $enddate).....
I have used Date::Manip to assist me with the comparison but when I few the error logs
I get error the following type of messages:
[ERROR]{ARGUMENT 20043xxxx is numeric in ge ( >=)...
I also get the same reply for the <= comparison, too
The script does work. I was just curious is there a better, hopefully easier, way to compare dates?
Start Free Trial