Fixed the time function. Downloaded pytz library