Servertec | after( )

Content Introduction Release Notes Features FAQs Requirements Installation Change Log Future Plans Knowledge Base Reference Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Cookie Date Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Side Preprocessor Executable Samples Sales Legal Feedback |
Returns whether a given date/time falls after a specified date/time. #### Syntax after( date1 , date2 ) date1.after( date2 ) #### Parameters
date1 | the date object being compared.
date2 | the date object being compared to.
#### Returns
boolean | true if date1 is after date2. false if date1 is not after date2.
#### Example
    iDate1 = Date( )
    iDate2 = Date( iDate + 1 )

    if iDate2.after( iDate1 ) then
        print( "ok" )
    end

    if after( iDate1, iDate2 ) then
        print( "error" )
    end
top of page
| Copyright © 1997-1999 Servertec. All rights reserved. Last Modified: Tue Jan 26 22:19:03 EST 1999