Getting todays date in a specific date format in a react application : I will like to get todays date in the format below in a react.js application. 

		"2019020420"

I am able to get the current date with this function. How can I modify this such that
it will give me the above date format.

		 getCurrentDate() {    
				var tempDate = new Date();
				var date = tempDate.getFullYear() + '-' + (tempDate.getMonth()+1) + '-' + tempDate.getDate() +' '+ tempDate.getHours()+':'+ tempDate.getMinutes()+':'+ tempDate.getSeconds();
				const currDate = date;
				return currDate;       
			}