If I have a date in the following format within Bash
time="Mar 18 2020 01:15:19"
I need to find out if it is within a 30 minute of window the current date and time (i.e. has 30 minutes elapsed).
So if the current date time is "Mar 18 2020 01:45:00", it would evaluate to true.
However, if the current date time is "Mar 18 2020 02:00:00", it would evaluate to false.
How would I go about doing this?