Functions to be realized

1, It's used here element Is the code to select the month

2, Time interval of background return , That is to say, in the time interval 2018 year 10 Month to 2019 year 4 The month of the month is optional ,10 Date and time before month 4 The date after the month is not optional .

3, stay methods Write method in

4, Here is the definition starDate and endDate Pits to pay attention to , If in data If it is directly defined in, an error may be reported . starDate is not
defined, The reason for this may be a global and local problem , What's the specific reason? Please give us some advice .

5, The solution is to define it outside the data

6, Disable date , according to element To write the official document

7, About the start date minus here 8.64e7 The question of , I still have questions here , So please know that the great God can answer for me , Or do I have any problems here , Please give me some advice .

Because our request is that the starting month can also be selected , But only for months , The default date is the last day of the month , So don't subtract 8.64e7, My starting date here is October . Just subtract it .

8, That's basically it , This function has been written for me, a rookie, for a long time . Also consulted a lot of people . So record it here , It's best if it happens to help you .

Technology