And I gave you the way to generate the timestamp, see the screenshot in my first comment. You get your timestamp in the d variable, you can do "Save game to slot d".
But in order to load this game, you will need to know the exact name of the slot, that's why you should also store it somewhere else. The easiest method is to store it in Local Storage.