(time, month, day)
| 787 | }); |
| 788 | |
| 789 | function setDate(time, month, day) { |
| 790 | let startDate = new Date(time * 1000); |
| 791 | startDate.setUTCMonth(month, day); |
| 792 | return startDate.getTime() / 1000; |
| 793 | } |
| 794 | |
| 795 | function addDays(timestamp, days) { |
| 796 | let time = new Date(timestamp * 1000); |