class DateUtils {

    public static String dateTimeNow() {
        final DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss");
        final Date date = new Date();
        return dateFormat.format(date);
    }

}