秒数
<h1>功能</h1>
<p>返回所给日期时间的秒。</p>
<h1>输入</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>日期</td>
<td>【TDatetime】</td>
<td>当前日期时间(传入变量)</td>
</tr>
</tbody>
</table>
<h1>输出</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>结果</td>
<td>【Integer】输出时间的秒</td>
<td>秒数(创建变量)</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.该函数与【当前日期时间】函数搭配使用,可获取当前日期和时间。
2.将获取秒数的变量传入【日志消息】函数中,即可在控制台显示出获取的时间的秒。</p>
<h1>相关函数</h1>
<p>【当前日期时间】函数</p>
<h1>示例/演示</h1>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/96845dd38df98882a94b38918cec77ba" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/04a8bb5af73ed7c90bd3885e5c83c0d9" title="[组件[秒数]_20210416.db">组件[秒数]_20210416.db</a></p>