Depends on where you got it from. Many places can use your phone number to look it up if you gave it to them.
OReillys store all their battery warranties in their system under the phone number you give them. They dont usually even mark the battery with the date purchased, unless you ask.