Java - Format (Time to String)

About

How to get time as a string ?

String timeStamp = new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss").format(new Date());

Powered by ComboStrap