Skip to content

Time - Built-in Date & Time Function

Purpose

Time returns the current time.

Syntax

Time()

Arguments

None

Returns

Variant with time value

See also

Example

Dim tiNow

Let tiNow = Time()

Return tiNow // returns the current time

Notes

  • Time returns a datetime variable with the date portion set to December 30, 1899.
  • To print only the time, either format the field (via field properties, choosing NONE for the date portion) or use the FormatTime function.