Need a command line program that can get the date a cd or dvd was burned, and if possible the program that burned it

I need command line based program that is able to retrieve from a burned cd or dvd the information about when it was burned, with which program it was burned, and any other data besides the content that is added when it is burned. Also, I want to be able to retrieve the info from the cd even when it is an exact copy of another cd. I really appreciate any help! Thanks a lot!