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.
↧