It depends on conditions and what your getting to do. There isn't just one best settings.
For photos, it's up to you but leave it at 12MP and if you have a RAW photo editor then shoot in RAW. If not then leave it as jpg. For the night photos, it depends on condition. There's no one setting since lighting is always different. Just play around before you do a shoot to see what comes out the best.
For time lapse video, play around and see what works. If your doing something that doesn't move around as much, use a setting that doesn't take as many photos. If you are doing something that moves around a little bit, set it up so it takes more photos.
Video is up to the user. I use 2.7K 60FPS with EIS on and I leave protune off. But night codes, I use protune.