Returns a string for the specified time.
$ = Time$([date])
date | : optional, date exp |
Time$ returns the time element of the specified date - or when no date is entered, the system time - in the following format: HH:MM:SS (Hours:Minutes:Seconds)
OpenW # 1
Print Time$
Local x As Date = #12.12.2001 18:42:16#
Print Time$(x)
' a simple calculation
Print Time$(x + #03:00:00#)
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: 07/10/2022 by James Gaite; Other Contributors: Jean-Marie Melanson}