new file with all time functions to avoid going over the download rate limits set by Twitter