Moved date utility function into file.
Initial checkin to test git/travis integration.