Handling multiple date types.