STime Procedure

Returns the current time.

Syntax

[ s = ] STime ( )

The STime procedure syntax has the following parts:

Name

Type

Description

s

BString

String time in HH:MM:SS format

Comments

This function returns a string containing 8 characters in the following format:

HH:MM:SS

Where:
 

HH =

the current hour (2 digits)

MM =

the current minute (2 digits)

SS =

the current second (2 digits)

Example

s=STime( )

! If the time is 6:24 PM, then s is now 18:24:00

See Also

Delay, SDate, Tick