Gets the current time in seconds. 
I don't know how much precision this has, but it's  been good enough for me so far.