<?xml version="1.0" encoding="utf-8"?> 
<?xml-stylesheet type="text/xsl" href="topic_template.xsl"?> 
<topic>
<category>fbudf</category>
<ref_entry>GETEXACTTIMESTAMP()</ref_entry>
<creator date="2003/12/15 17:14:30">山田健一</creator>
<modified />
<definition>現在日付と時刻ををミリ秒単位で返す</definition>
<structure>
<function>
<name>GETEXACTTIMESTAMP</name>
<args>
</args>
</function>
</structure>
<arguments>
</arguments>
<declaration>declare external function getExactTimestamp
timestamp returns parameter 1
entry_point 'getExactTimestamp' module_name 'fbudf';</declaration>
<description>現在日付と時刻ををミリ秒単位で返します。<br />
<br />
ミリ秒までの精度が不要なときは以下のコンテキスト変数を使用してください。<br />
CURRENT_DATE(現在日付)<br />
CURRENT_TIME(秒までの現在時刻)<br />
CURRENT_TIMESTAMP(現在日付と秒までの時刻)<br />
<br />
</description>
<examples>
<example>
<!--SEQ = 1-->
<description>現在日付と時刻ををミリ秒単位で返します。<br />
表示は小数点以下4桁ですが、小数点以下4桁めは常に 0 です。</description>
<samplecode>SELECT GETEXACTTIMESTAMP() FROM RDB$DATABASE;</samplecode>
<result>2003-12-15 17:09:00.9550</result>
</example>
</examples>
<see_also>
</see_also>
</topic>
