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

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE: DATEVALUE function}}
 +
{{Documentation/CalcFunc DateTimeTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_DATE_function
 +
|NextPage=Documentation/How_Tos/Calc:_TIME_function
 +
}}__NOTOC__
  
 
== DATEVALUE ==
 
== DATEVALUE ==
Line 14: Line 19:
 
: returns <tt>'''39409'''</tt>, the date-time serial number for 23Nov2007 (assuming the default date-time starting date)
 
: returns <tt>'''39409'''</tt>, the date-time serial number for 23Nov2007 (assuming the default date-time starting date)
  
{{Documentation/SeeAlso|
+
{{SeeAlso|EN|
 
* [[Documentation/How_Tos/Calc: DATE function|DATE]]
 
* [[Documentation/How_Tos/Calc: DATE function|DATE]]
 
* [[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]]
 
* [[Documentation/How_Tos/Calc: TIMEVALUE function|TIMEVALUE]]

Latest revision as of 13:51, 30 January 2024



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)



See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_DATEVALUE_function&oldid=259694"
Views
Personal tools
Navigation
Tools