Changed how commandDetails & DateAndTime is set

Fixed errors to commandDetails for certain inputs containing a month
word.