added code for decodeDetails (DATE)