System.currentTimeMillis() / 1000
时间: 2023-10-25 11:31:56 浏览: 250
System.currentTimeMillis()用于获取当前时间的毫秒数。如果要将其转换为秒数,可以使用除以1000的方式进行计算。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [System.currentTimeMillis()计算方式与时间的单位转换详解](https://download.csdn.net/download/weixin_38651812/12725398)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [接口测试很难吗?教你用Postman实用代码实现时间戳加密](https://blog.csdn.net/m0_60054525/article/details/119462737)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文