Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

PR_MillisecondsToInterval

Converts standard clock milliseconds to platform-dependent intervals.

Syntax

 #include <prinrval.h>
 
 PRIntervalTime PR_MillisecondsToInterval(PRUint32 milli);

Parameter

The function has the following parameter:

milli
The number of milliseconds to convert to interval form.

Returns

Platform-dependent equivalent of the value passed in the milli parameter.

Document Tags and Contributors

 Contributors to this page: teoli, Sheppy
 Last updated by: teoli,