utils/time_utils library

Functions

getTimeStr(DateTime dateTime) String
format(2018.09.08 11:22:333)
getTimeStr1(DateTime dateTime) String
format(11:22:333)
twoNum(int num) String
转成两位数