Time$ – Date/Time Functions





Time$ Function


Description

The Time$ function returns the current time.

Usage

Used for example to concatenate today’s date with a filename.

Syntax

var$ = Time$()

Parameters

None.

Return Value

var$, string, current time. The format of the returned time is the one specified in Region and Language Settings. A usual format is 10:25:30.

Example

msgbox(Time$())