How can I get a future unix timestamp in Javacript? ie, pass "2023-03-08 13:05:00" and get a unix timestamp corresponding to that time.
All the examples I see use the getTime() function which is the current time like this: Javascript: future time as UNIX timestamp
I found a solution in Php which I think serves the purpose I am looking for: Getting a future unix timestamp using a specific date and time?
Is there a similar function in Javascript?