I am trying to work out the number of seconds between two times.
My proposed method is to get the Unix times for ' Date 1' and 'Date 2' then deduct them to get the number of seconds.
The second date will be in the format of a string.
How do I convert a string into a unix time in swift?
Any help Much appreciated!