showing results for - "angular timestamp"
Nicola
15 Sep 2018
1const current = new Date();
2
3current.setHours(0)
4
5current.setMinutes(0)
6
7current.setSeconds(0)
8
9current.setMilliseconds(0)
10
11const timestamp = current.getTime();
12