I need to convert a date to posix-format in order to use an API (WebSocket)
my Request: {
"InstrumentId": 1,
"FromDate": // POSIX-format date and time
}
I'm not familiarized with Date manipulation. How can I get today's date and convert to posix-format?