Difference between revisions of "Documentation/How Tos/Calc: DATEVALUE function"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Robot: Automated text replacement %s)
m
Line 24: Line 24:
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
[[Category: Documentation/Reference/Calc]]
+
[[Category: Documentation/Reference/Calc/Date and Time functions]]

Revision as of 06:46, 13 April 2010


DATEVALUE

returns the date-time serial number, from a date given as text.

Syntax:

DATEVALUE(datetext)

datetext is a date, expressed as text.
DATEVALUE returns the date-time serial number, which may be formatted to read as a date.

Example:

DATEVALUE("2007-11-23")

returns 39409, the date-time serial number for 23Nov2007 (assuming the default date-time starting date)

Template:Documentation/SeeAlso

Personal tools