modify date setting for datetime