Added a conditional to validate whether the current date is actually prior to the end date. If current date exceeds end date, print 0.