Servertec Date
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

 


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 represended 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 specifed date object.
setTime( ) Sets the time in the specified date object.
setYear( ) Sets the year in the specified date object.
toGMT( ) Returns a string representation of the specified date object.
toLocale( ) Returns a string represented of the specified date object.
toString( ) Returns a canonical string presentation of the specified date object.
top of page
Built with iScript Copyright © 1997-1998 Servertec. All rights reserved.
Last Modified: Wed Apr 15 00:16:38 EDT 1998