Servertec | Date

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 Config Context Cookie Date after( ) before( ) ctime( ) Date( ) equals( ) getDay( ) getHours( ) getMinutes( ) getMonth( ) Date_getSeconds( ) getTime( ) getTimezone( ) getWeekday( ) getYear( ) now( ) setHours( ) setMinutes( ) setMonth( ) setSeconds( ) setTime( ) setYear( ) toGMTString( ) toLocaleString( ) toString( ) Enumeration File FileDescriptor Hashtable Internet IO JDBC Number Object Properties Random Request RequestDispatcher Response Session SqlTypes Stack StreamTokenizer String StringBuffer StringTokenizer System Vector Wrappers Servlet Server Pages Preprocessor Executable Samples Legal Contact Us |
Functions on date objects.
Method | Description
after( ) | Returns whether a given date/time falls after a specified date/time.
before( ) | Returns whether a given date/time falls before a specified date/time.
ctime( ) | Returns a string presentation of the specified date object.
Date( ) | Returns a date object set to the current or specified date/time.
equals( ) | Returns whether the specified date objects refer to the same date/time.
getDay( ) | Returns the day of the month represented in the specified date object.
getHours( ) | Returns the hour represented in the specified date object.
getMinutes( ) | Returns the minutes represented in the specified date object.
getMonth( ) | Returns the month represented in the specified date object.
getSeconds( ) | Returns the seconds represented in the specified date object.
getTime( ) | Returns the number of milliseconds represented in the specified date object.
getTimezone( ) | Returns the timezone offset in minutes for the current locale.
getWeekday( ) | Returns the day of the week represented in the specified date object.
getYear( ) | Returns the year specified in the specified date object.
now( ) | Returns a new date object set to the present date/time.
setDay( ) | Sets the day of the month in the specified date object.
setHours( ) | Sets the hour in the specified date object.
setMinutes( ) | Sets the minutes in the specified date object.
setMonth( ) | Sets the month in the specified date object.
setSeconds( ) | Sets the seconds in the specified date object.
setTime( ) | Sets the time in the specified date object.
setYear( ) | Sets the year in the specified date object.
toGMTString( ) | Returns a string representation of the specified date object.
toLocaleString( ) | Returns a string represented of the specified date object.
toString( ) | Returns a canonical string presentation of the specified date object.
top of page Copyright © 1998-2005 Servertec. All rights reserved. Privacy Statement. Last Modified: Sun Sep 04 14:56:08 EDT 2005