ClTool

Methods

(static) addPreZero(v, n) → {String}

Source:

add prefix with 0

Parameters:
Name Type Description
v Number
n Number
Returns:
Type
String

(static) getDate(ttime) → {Number}

Source:

format time_t to 20180101

Parameters:
Name Type Description
ttime any
Returns:
Type
Number

(static) getMTime(ttime) → {Number}

Source:

get time's millseconds

Parameters:
Name Type Description
ttime any
Returns:
Type
Number