summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_millisecondstointerval.rst
blob: b456b0096dfda15316f2e1ce1684069967e6124d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
PR_MillisecondsToInterval
=========================

Converts standard clock milliseconds to platform-dependent intervals.


Syntax
------

.. code::

    #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.