Get the time string in the specified format from the digital timestamp.
time Timestamp to be processed.
format Format time string.
timeUnit The unit of the timestamp to be processed.
Get the specified format time string from the string timestamp.
time Timestamp to be processed.
format Format time string.
timeUnit The unit of the timestamp to be processed.