SDate Procedure

Returns the current date.

Syntax

[ s = ] SDate ( )

The SDate procedure syntax has the following parts:

Name

Type

Description

s

BString

String date in MM/DD/YY format

Comments

The date is returned in a string containing 8 characters in the following format:

MM/DD/YY

Where:
 

MM =

the current month (two digits)

DD =

the date of the month (two digits)

YY =

the year (two digits)

Example

Print SDate()

! If the current date were October 7, 1999

! this would print 10/07/99

See Also

STime