I know how to flatten the below object, but wondering how I can pass the values in as I flatten them to create a date
What I have:
"dateRange": {
"start": {
"month": 9,
"day": 2,
"year": 2020
}
What I want
2020-09-02