Ford Focus 2015 won't start

I have a 2015 Ford Focus. Well taken care of with not many issues. I drove home last night. And this morning I went to leave for work and it won't start. All the lights came on. The low windshield washer fluid notification came up. But it wouldn t turn over. My miles were at about 60k, but everything came up as 0 this morning. And my clock said it was 12:00, when it was 6:30 am. The lights flickered and the radio came on but when I turned the key to start the engine it wouldn t turn. You could hear a tick or clicking in the engine like it's trying to start but just can't. I've read that it could be my starters. Also I've read it could be my computer system, or my TCM could be bad. Is there a way to test or even fix it before I tow it away?

Stick a meter on the battery. It should be 12 2v
Clean both battery terminals. Both the battery and the clamps with emery cloth or a terminal cleaner.

Why bother with the effort? It's under warranty.

Battery flat.