Time Function

Purpose

Returns the system time as Date data type.

Syntax

d = Time

d:Date exp

Description

Time returns the system time.

Example

OpenW # 1

Local x As Date = Time

Print Time$(x)

' a simple calculation

Print Time$(x + #03:00:00#)

See Also

CDate(), Date, Date$, DateAdd(), DateDiff(), DatePart(), DateSerial(), DateTime$(), DateToDmy, DateToDmyHms, DateValue(), Day(), DayNo(), DmyHmsToDate(), DmyToDate(), HmsToTime(), Hour(), IsDate(), Minute(), Month(), Now, Now$(), TimeSerial(), TimeToHms, TimeValue(), Second(), Week(), WeekDay(), Year()

{Created by Sjouke Hamstra; Last updated: 25/10/2014 by James Gaite}