I'm pretty sure you have to use an app from the Play store. Search for Date Stamp or Camera Date Stamp. There's plenty of them, but I have no idea which ones are good. You'll have to go by trial and error.
I do not believe there is a way for the stock camera to attached the date and time stamp on the picture. Although, I've been wrong before...