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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(11 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE: NOW function}}
 +
{{Documentation/CalcFunc DateTimeTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc: TODAY function
 +
|NextPage=Documentation/How_Tos/Calc:_YEAR_function
 +
}}__NOTOC__
  
 
== NOW ==
 
== NOW ==
 
Returns the current date and time
 
Returns the current date and time
 
  
 
=== Syntax: ===
 
=== Syntax: ===
 
<tt>'''NOW()'''</tt>
 
<tt>'''NOW()'''</tt>
: returns the current date and time (as a date-time serial number). <tt>'''NOW'''</tt> is updated every time at every recalculation, for instance if a cell is modified.
+
: returns the current date and time (as a date-time serial number). <tt>'''NOW'''</tt> is updated at every recalculation, for instance if a cell is modified.
 
+
  
 
=== Example: ===
 
=== Example: ===
Line 14: Line 17:
 
: when calculated at say 12 noon on 1Apr08 returns that date and time.
 
: when calculated at say 12 noon on 1Apr08 returns that date and time.
  
 +
{{SeeAlso|EN|
 +
* [[Documentation/How_Tos/Calc: TODAY function|TODAY]]
 +
* [[Documentation/How_Tos/Calc: DATE function|DATE]]
 +
* [[Documentation/How_Tos/Calc: TIME function|TIME]]
  
=== See also: ===
+
* [[Documentation/How_Tos/Calc: Date & Time functions#Date and Time overview|Date & Time overview]]
'''[[Documentation/How_Tos/Calc: TODAY function|TODAY]]''',
+
'''[[Documentation/How_Tos/Calc: DATE function|DATE]]''',
+
'''[[Documentation/How_Tos/Calc: TIME function|TIME]]'''
+
  
'''[[Documentation/How_Tos/Calc: Date & Time functions|Date & Time functions]]'''
+
* [[Documentation/How_Tos/Calc: Date & Time functions|Date & Time functions]]
  
'''[[Documentation/How_Tos/Calc: Date & Time functions#Date and Time overview|Date & Time overview]]'''
+
* [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]]
 +
* [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}}
 +
[[Category: Documentation/Reference/Calc/Date and Time functions]]

Latest revision as of 13:43, 30 January 2024



NOW

Returns the current date and time

Syntax:

NOW()

returns the current date and time (as a date-time serial number). NOW is updated at every recalculation, for instance if a cell is modified.

Example:

NOW()

when calculated at say 12 noon on 1Apr08 returns that date and time.



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