date2 String
Date to the formatted time string.
The pattern is {@code yyyy-MM-dd HH:mm:ss}
.
Return
the formatted time string
Parameters
date
The date.
Date to the formatted time string.
Return
the formatted time string
Parameters
date
The date.
format
The format.