Spread 8.0 Documentation
DAY
Support Options
Formula Reference > Built-In Functions > DAY

Glossary Item Box

DAY


Name

Day

Description

Returns the day number of the month (integer 1 to 31) that corresponds to the specified date.

Syntax

DAY(date)

Remarks

Specify the date argument as a serial value or date value. To provide a serial value from a date value, use the DATE or TODAY function.

Spread's calc engine processes dates as a numeric value in the form x.y, where x is the "number of days since December 30, 1899" and y is the fraction of day. Numbers to the left represent the date, which is the value that the DATE function returns. Use the TIME function to return the serial value for the time value (the fraction of a day).

Date values are based on the number of days elapsed since December 30, 1899, which has a date serial value of Day 0. For example, December 31, 1899 has a date serial value of 1. Date values prior to December 30, 1899 have negative date serial values. For example, the date value December 29, 1899 has a date serial value of –1.

See also DATE, HOUR, MINUTE, MONTH, NOW, SECOND, TIME, TODAY, WEEKDAY, and YEAR.

Data Type

Accepts numeric data. Returns numeric data. For more information, see Data Type for Each Cell Type.

Example

DAY(A2)
DAY(33239)=1 (33239 is the serial value for January 1, 1991)

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.