LocalDateTime 获取当月的第一天和最后一天的日期

时间:2024-11-12 08:49:15
    public static void main(String[] args) {
        DateTimeFormatter fmt = ("yyyy-MM-dd");
        LocalDateTime date = ();
        LocalDateTime firstday = (());
        LocalDateTime lastDay = (());
        ("firstday:" + (fmt));
        ("lastDay:" + (fmt));
    }
 table 设置表格字体
<style>
        .layui-table-cell {
            height:auto;
            font-size: 15px;
            letter-spacing:2px;
            overflow:visible;
            text-overflow:inherit;
            white-space:normal;
            word-break:break-all
        }
    </style>



overflow-x: hidden;
  overflow-y: auto;  修改