I need to convert json date time to string and write it html table cell. Json I am getting is like this:
"creation": {
"date": {
"year": 2022,
"month": 1,
"day": 9
},
"time": {
"hour": 10,
"minute": 14,
"second": 11,
"nano": 830000000
}
I want to display it like this : 1-9-2022 10:14:11:83000000 Is there built-in function in JS. Your help appreciated