UNPKG
mn_fun_comm_v2
Version:
latest (1.0.7)
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
functions from moonlight
github.com/menghuiqiang999/mn_fun_comm_v2
menghuiqiang999/mn_fun_comm_v2
mn_fun_comm_v2
/
test
/
time.js
14 lines
(10 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/** * Created by Administrator on 2018/7/9. */
'use strict'
;
const
pageName =
'time test'
;
const
com =
require
(
'../com'
);
const
time = com.
time
;
const
[err,t] =time.
timestampMS
();
const
[e,tt]=time.
formatDate
(t);
console
.
log
(tt);