Difference between revisions of "User:Syranzi/Documentation/How Tos/Calc: TODAY function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(TODAY)
Line 1: Line 1:
 
== TODAY ==
 
== TODAY ==
 
Returns the current date and time
 
Returns the current date and time
 +
現在の日付に対応する値を返します。
 +
 +
''*訳注:原文 Returns the current date and time は、関数 Now の定義と同じであり、Returns the current date の間違いだと思われます。(安西)''
  
 
=== Syntax: ===
 
=== Syntax: ===
 +
=== 構文: ===
 
<tt>'''TODAY()'''</tt>
 
<tt>'''TODAY()'''</tt>
 
: returns the current date (as a date-time serial number). <tt>'''TODAY'''</tt> is updated at every recalculation, for instance if a cell is modified.
 
: returns the current date (as a date-time serial number). <tt>'''TODAY'''</tt> is updated at every recalculation, for instance if a cell is modified.
 +
<tt>'''TODAY()'''</tt>
 +
: 現在の日付に対応する値を (日付と時間の連番として) 返します。 <tt>'''TODAY'''</tt> は、セルの変更など、再計算をする度に更新されます。
  
 
=== Example: ===
 
=== Example: ===
 +
=== 例: ===
 
<tt>'''TODAY()'''</tt>
 
<tt>'''TODAY()'''</tt>
 
: when calculated at say 12 noon on 1Apr08 returns 1Apr08.
 
: when calculated at say 12 noon on 1Apr08 returns 1Apr08.
 +
<tt>'''TODAY()'''</tt>
 +
: 2008 年 4 月 1 日 (1Apr08) の正午に計算すると、2008 年 4 月 8 日 (1Apr08) と返します。
  
 
{{Documentation/SeeAlso|
 
{{Documentation/SeeAlso|

Revision as of 10:45, 22 January 2011

TODAY

Returns the current date and time 現在の日付に対応する値を返します。

*訳注:原文 Returns the current date and time は、関数 Now の定義と同じであり、Returns the current date の間違いだと思われます。(安西)

Syntax:

構文:

TODAY()

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

TODAY()

現在の日付に対応する値を (日付と時間の連番として) 返します。 TODAY は、セルの変更など、再計算をする度に更新されます。

Example:

例:

TODAY()

when calculated at say 12 noon on 1Apr08 returns 1Apr08.

TODAY()

2008 年 4 月 1 日 (1Apr08) の正午に計算すると、2008 年 4 月 8 日 (1Apr08) と返します。

Template:Documentation/SeeAlso

Personal tools