Support

Account

Home Forums General Issues Test date field before display. Reply To: Test date field before display.

  • Thanks. I was using a wrong date format.

    
    $today = strtotime(date('Ymd'));
    $promoend = strtotime($datefin);
    

    Perfectly works like this. just have to compare $today and $promoend