the following 2 sections in the if statement:
strtotime('$_SESSION['FormCouponValidFrom']')
strtotime('$_SESSION['FormCouponValidTo']')
should b not have the single quotes:
strtotime($_SESSION['FormCouponValidFrom'])
strtotime($_SESSION['FormCouponValidTo'])