I want to convert selected date into unix timestamp and pass to api
Asked
Active
Viewed 620 times
-5
-
yourDate.getTime() / 1000 = unix timestamp – rrd Dec 12 '16 at 10:48