I need to call an API and it uses millis for its date range based on Unix.
What I want to date is call the API now to get data, then pull data for the same time range but 1 week ago.
What I am just struggling to do is automate the system to get the "now" time in milliseconds.
Has anyone got any ideas?