[c++] How to get current timestamp in milliseconds since 1970 just the way Java gets