Added some basic time functionality.