Servertec | before( )
M E N U Content Introduction Release Notes Requirements Installation Change Log Future Plans Knowledge Base Referance Manual Conventions Scriptlets Data Types Constants Variables Procedures Operators Statements Objects Array Cookie Date Error File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request Response SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Server Side Preprocessor Executable Make Samples Legal Feedback | Returns whether a given date/time falls before a specified date/time. #### Syntax before( date1 , date2 ) date1.before( date2 ) #### Parameters date1 the date object being compared. date2 the date object being compared to. #### Returns boolean true if date1 is before date2 false if date1 is not before date2 #### Example iDate1 = Date( ) iDate2 = Date( iDate + 1 ) if iDate1.before( iDate2 ) then print( "ok" ) end if before( iDate2, iDate1 ) then print( "error" ) end
top of page
| Copyright © 1997-1998 Servertec. All rights reserved. Last Modified: Wed Apr 15 00:16:38 EDT 1998