@Test
public void testDate(){
SimpleDateFormat sdf = new SimpleDateFormat("YYYY_MM_dd");
Date date = new Date();
String logTableName = "logs_his_" + sdf.format(date);
System.out.println("logTableName is "+logTableName);
}
run this program ,the result below like this
logTableName is logs_his_2022_12_28
is seems not correct ,any one who can fix this problem ?