how does js get the timestamp of the beginning of a certain month in a certain year? Php can be realized by mktime. I wonder if there is any easy way to get js.
what I need here is to get the data of a month. First, I need to pass the start and end timestamps of a month, and the backend will judge by this.