Unanswered question

How to use epoch time in seconds

I see that we can use Date variable with pattern - "currentTimeMillis" which gives value in millisec, but I need the value in seconds, as I need this in lots of parameters, what is the best way to do that .... avoiding overhead to perform functions as many times as we need.

Paras S.
Paras S.

Paras S.

Level
0
20 / 100
points

Answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

divide by 1000?