I have an operation that we run on a monthly basis, with an as_of_dt as the last calendar day of a month.
I have a working date selector on my dashboard, but I currently have a default date hardcoded. I'd like to make it default to the last calendar day of the previous month. So, for the month of june 2017, I want it to default to 5-31-2017.
Here is my current html:
<div class="form-group">
<label class="mr-sm-2" for="date_input">Date</label>
<input class="form-control" type="date" value="2017-05-31" id="date_input" name='date_input'>
</div>
Thank you!