public static void main(String[] args)
{
Date CurrentTime = new Date(System.currentTimeMillis());
SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd");
File file = new File("D:\\Test.csv");
file.renameTo(new File("D:\\Test_"+sdf.format(CurrentTime)+".csv"));
}