Milliseconds in cpp

How to get current time in milliseconds? Date.now().getTime() works correct only on flash target and on cpp & java return only seconds.

Seems you should use Lib.getTimer() on native platforms