<script> import moment from 'moment'; </script> let startDate = moment(new Date()).format('YYYY-MM-DD');