Day Procedure

Version 7

Returns the current or specified date/time month day (1-31).

Syntax

[ lDay = ] Day ( [ dt ]  )

The Day procedure syntax has the following parts:

Name

Type

Description

lDay

Long

Return value: month day between 1 - 31

dt

[Val] DateTime

Date time if given

Comments

If date time is not specified, current date time is used. 

Example

 

print Day()   ! prints current day "6"
print Day(dt) ! prints day of "dt"

See Also

Month, Year, Hour, Minute, Second, DateTime Data Type