Day

Description:              This function returns the day of the month for a given date number.

Returns:                    Numeric

Usage:                       Script or Steady State.

Format:                      Day(Date)

Parameters:             Date     { numeric }  { required }  { no default }
          Any numeric expression giving the number of days since January 1, 1970.

Comments:               This function works in conjunction with the Month and Year functions to decompose a date into the corresponding day, month and year.

Example:

firstDate = Day(DateNum(25, 12, 1992));

This causes firstDate to be set to 25.

See Also:

Date | DateNum | Month | Today | Year