localdatetime 零点
时间: 2023-09-23 12:08:15 浏览: 147
LocalDateTime的零点是指当天的00:00,即午夜开始的时刻。通过使用`LocalDateTime.of(LocalDate.now(), LocalTime.MIN)`可以获取当天的零点时间。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [取得当天的零点](https://blog.csdn.net/weixin_30664539/article/details/95443788)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [LocalDateTime类获取当日00:00与当月第一天](https://blog.csdn.net/qq_41267618/article/details/102914243)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文