Switching from passing a string date around to an instance of time.