Converted timestamps to seconds from 12:00 AM of the day