Siebel VB Language Reference > Quick Reference: Statements and Functions >

Dates and Times


The following functions and statements are for use with date and time information.

Function or Statement
Purpose
For More Information
Date Function
Returns the current date
Date Statement
Sets the computer's date
DateSerial
Returns the date value for year, month, and day specified
DateValue
Returns the date value for the string specified
Day
Returns the day of month component of a date-time value
Hour
Returns the hour of day component of a date-time value
IsDate
Determines whether a value is a legal date
Minute
Returns the minute component of a date-time value
Month
Returns the month component of a date-time value
Now
Returns the current date and time
Second
Returns the second component of a date-time value
Time Function
Returns the current time
Time Statement
Sets the current time
Timer
Returns the number of seconds since midnight
TimeSerial
Returns the time value for the hour, minute, and second specified
TimeValue
Returns the time value for the string specified
Weekday
Returns the day of the week for the specified date-time value
Year
Returns the year component of a date-time value


 Siebel VB Language Reference
 Published: 18 June 2003