Date getting has option of with time and without, for use in details and master view