DateUtil.dayOfWeek
时间: 2023-10-20 17:29:39 浏览: 154
DateUtil.dayOfWeek是一个方法,它接受一个日期对象,并返回该日期是星期几的数字表示,其中1表示周日,2表示周一,以此类推。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [获取每周的日期](https://blog.csdn.net/zhangxl4479/article/details/113626577)[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* [传递的日期转成周几,星期几~代码超短超简单](https://blog.csdn.net/qq_45502336/article/details/128904905)[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 ]
阅读全文