This works if the iPhone is turned on and accessible.
Apple now uses randomized, 10-character alphanumeric serial numbers that cannot be decoded for factory or date information. This change improved security and reduced fraud. search iphone serial number