can accept date and tiem objects as values