Added 'only' variable to dateTime to specify date/time only