Hello Mitesh,
and welcome to the forum.
What needs to be established here, is whether you have a valid or invalid dicom file. From your post, it seems to me that ruby-dicom fails to read a certain kind of your dicom files, right? My question is, does this dicom file successfully open in other freeware/open source dicom viewers/toolkits? Please try this. If it fails in these other programs too, than your dicom file is simply invalid, and your vendor should be held responsible for.
So we have two scenarios:
1. Invalid dicom file.
An option would be to make your own customized version of ruby dicom to handle this specific incorrect type of dicom file. It would require modifying the source code of ruby-dicom. Depending on your level of ruby experience, it may be an easy or difficult task.
2. Valid dicom file, but ruby-dicom incorrectly fails.
If this is the case, I would suggest you send me this particular file and I will have a look at it to possible fix ruby-dicom. I am on vacation right now though, so dont expect a speedy response.
I guess another option is that I misunderstood and that the dicom file is not invalid, and instead your only problem is that the format of your date field is wrong. If this is the case, it should be very straight forward to fix this in a ruby script using ruby-dicom!
Best regards,
Chris