My date time format is:
POSIXct, format: "2018-11-05 12:09:12"
I want to send this data to Power BI for creating reports. But Power BI has the following data format:
"2018-11-05T12:59:06.856Z" - which is a 'JavaScript built-in JSON object'
How do I convert my POSIXct date to the above JSON format? I have seen examples for converting date time to POSIXct and few other formatting rules, but not JSON.