Hello,
i'm facing one problem. My client has this code in php
$start_time = microtime(true); // with this you get the current timestamp with microseconds
//code to meassure it's performance here...
...
$time = microtime(true) - $start_time;
So they want to meassure how long it takes to execute the code.
But a microseconds precission will be needed...
I've tried with Date(), CURRENT_TIMESTAMP and now(), but all i get is milliseconds precission...
Is there a way to implement the above code in XSJS??
Best regards,
Luis.