TimeDate Group

HostExplorer Programming

TimeDate Group

3270 5250 VT

Date—Returns a string representing the current date.

DateAdd—Returns a variant (date) containing a date to which a specified time interval has been added. Not supported by Hummingbird Basic. Supported by Microsoft Visual Basic.

DateDiff—Returns a variant (Long) specifying the number of time intervals between two specified dates. Not supported by Hummingbird Basic. Supported by Microsoft Visual Basic.

DatePart—Returns a variant (integer) containing the specified part of a given date. Not supported by Hummingbird Basic. Supported by Microsoft Visual Basic.

DateSerial—Returns a variant (date) for the specified year, month, and day.

DateValue—Returns a date value for the string specified.

Day—Returns the day-of-the-month component of a date-time value.

Hour—Returns the hour-of-day component (0–23) of a date-time value.

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—Returns a string representing the current time.

Timer—Returns the number of seconds past midnight.

TimerSerial—Returns a variant (date) containing the time for a specific hour, minute and second.

WeekDay—Returns the day of the week for the specified date-time value.

Year—Returns the year component (1–12) of a date-time value.