Announcement

Collapse
No announcement yet.

Expired Formulas?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Expired Formulas?

    I have been trying to use the expired formulas code. But, I can never seem to get it to work?

    Fibbgann


    PHP Code:
    var vToday = new Date();
    var 
    vExpire = new Date("4/1/2004");
    var 
    bExpired false;

    if(
    vToday vExpire) {
        
    bExpired true;

    Last edited by FibbGann; 02-14-2004, 04:13 PM.
    Excellent book on JavaScript for beginners

  • #2
    you're missing one last thing...

    in your main() function, you need to include...


    function main()
    {
    if (!bExpired) {

    .. your code...

    }
    }
    Brad Matheny
    eSignal Solution Provider since 2000

    Comment

    Working...
    X