Day Function [Runtime]/text/sbasic/shared/03030103.xhpSun Microsystems, Inc.converted from old format - fpeDay functionDay Function [Runtime]Returns a value that represents the day of the month based on a serial date number generated by DateSerial or DateValue.Syntax:Day (Number)Return value:IntegerParameters:Number: A numeric expression that contains a serial date number from which you can determine the day of the month.This function is basically the opposite of the DateSerial function, returning the day of the month from a serial date number generated by the DateSerial or the DateValue function. For example, the expressionPrint Day (DateSerial(1994, 12, 20))returns the value 20.Example:sub ExampleDayPrint "Day " & Day(DateSerial(1994, 12, 20)) & " of the month"end sub