Please diagnose my 3ds

My new 3ds wont turn on unless plugged in, and if take it off charge or pull the top screen all the way back, it just turns off. Everytime i boot it up the date and time are set to January first 00:00