Create time.py

reflect deanne's changes