.. oe:namespace:: OEPlatform

.. meta::
   :keywords: GetTimeOfDay

.. oe:function:: OEGetTimeOfDay

   .. oe:language:: c++

      .. oe:api::

         bool OEGetTimeOfDay(struct timeval* tp)

      Fills the ``timeval`` struct ``tp`` with the current time of day
      for the local timezone. Equivalent to the ``gettimeofday`` system
      call on Linux. Returns ``true`` when successful, ``false``
      otherwise.

   .. oe:language:: csharp java python

      This function is only available in C++.
