mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 05:20:15 +08:00
Modify the date formatting logic
This commit is contained in:
@ -230,4 +230,16 @@ public class SqlUtilsTest {
|
||||
log.info("解析sql:{}", sqlLimit);
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
public void test57() {
|
||||
java.sql.Date date=new java.sql.Date(System.currentTimeMillis());
|
||||
|
||||
log.info("{}",date);
|
||||
|
||||
java.sql.Timestamp ts=new java.sql.Timestamp(System.currentTimeMillis());
|
||||
|
||||
log.info("{}",ts);
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user