LocalDateTime todayStart = LocalDateTime.of(LocalDate.now(), LocalTime.MIN);
LocalDateTime todayEnd = LocalDateTime.of(LocalDate.now(), LocalTime.MAX);
long startTime = LocalDateTimeUtil.toEpochMilli(todayStart);
long endTime= LocalDateTimeUtil.toEpochMilli(todayEnd);
LocalDateTime firstDay = now.with(TemporalAdjusters.firstDayOfMonth()).withHour(0).withMinute(0).withSecond(0);
LocalDateTime lastDay = now.with(TemporalAdjusters.lastDayOfMonth()).withHour(23).withMinute(59).withSecond(59);
long startTime = LocalDateTimeUtil.toEpochMilli(firstDay);
long endTime= LocalDateTimeUtil.toEpochMilli(lastDay);