summaryrefslogtreecommitdiffstats
path: root/docs/nspr/reference/pr_secondstointerval.rst
blob: 18c8947a36ad36fe89eb78cca2d43533f29e43eb (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_SecondsToInterval
====================

Converts standard clock seconds to platform-dependent intervals.


Syntax
------

.. code::

    #include <prinrval.h>

    PRIntervalTime PR_SecondsToInterval(PRUint32 seconds);


Parameter
~~~~~~~~~

The function has the following parameter:

``seconds``
   The number of seconds to convert to interval form.


Returns
~~~~~~~

Platform-dependent equivalent of the value passed in the ``seconds``
parameter.