How to round off the current timestamp in milliseconds to seconds?
If this is the current timestamp in milliseconds I have -
1384393612958
The if I am rounding off to nearest second then will it be like this?
Time in MS rounded off to nearest Second = 1384393612000
I might need to do this both in Java and C++.