Here you can find the source of getTodayFolder()
public static String getTodayFolder()
//package com.java2s; //License from project: Apache License import java.text.SimpleDateFormat; import java.util.Date; public class Main { private static final SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd"); public static String getTodayFolder() { return dateFormat.format(new Date()); }/*from w ww .ja v a 2 s . co m*/ }