<div class="content" name="NetrRemoteTOD" uuid="6e914f10-3280-474e-81fa-71621d5c3409"><p>The NetrRemoteTOD method returns the time of day information
on a <a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_434b0234-e970-4e8c-bdfa-e16a30d96703" data-linktype="relative-path">server</a>.</p><dl>
<dd>
<div><pre> NET_API_STATUS NetrRemoteTOD(
   [in, string, unique] SRVSVC_HANDLE ServerName,
   [out] LPTIME_OF_DAY_INFO* BufferPtr
 );
</pre></div>
</dd></dl><p><b>ServerName: </b>An <a href="5f8329ee-1965-4ea1-ad35-3b29fbb63232" data-linktype="relative-path">SRVSVC_HANDLE (section 2.2.1.1)</a>
pointer that identifies the server. The <a href="1709f6a7-efb8-4ded-b7ae-5cee9ee36320#gt_60e0e1fa-66fe-41e1-b5e3-ceab97e53506" data-linktype="relative-path">client</a> MUST map this
structure to an RPC binding handle (see <a href="https://go.microsoft.com/fwlink/?LinkId=89824" data-linktype="external">[C706]</a> sections 4.3.5
and 5.1.5.2). The server MUST ignore this parameter.</p><p><b>BufferPtr: </b>A pointer to a structure of type <a href="2f15dc47-952e-4bc4-b8da-6caabab0022d" data-linktype="relative-path">TIME_OF_DAY_INFO</a> where the
information is returned.</p><p><b>Return Values: </b>The method returns 0x00000000
(NERR_Success) to indicate success; otherwise, it returns a nonzero error code.
The method can take any specific error code value, as specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>
section <a href="../ms-erref/18d8fbe8-a967-4f1c-ae50-99ca8e491d2d" data-linktype="relative-path">2.2</a>.
</p><p>In response to a NetrRemoteTOD message, the server MUST
return the time of day information or return an error code.</p><p>The server MUST return the time of day information on the
server in the <i>BufferPtr</i> parameter in the format of the
LPTIME_OF_DAY_INFO structure, as specified in section 2.2.4.105.</p><p>The server SHOULD<a id="Appendix_A_Target_90"></a><a aria-label="Product behavior note 90" href="ebb74ff2-abb1-4e1b-a76a-563a5cbbea9a#Appendix_A_90" data-linktype="relative-path">&lt;90&gt;</a> enforce
security measures to verify that the caller has the required permissions to
execute this routine. If the caller does not have the required credentials, the
server SHOULD<a id="Appendix_A_Target_91"></a><a aria-label="Product behavior note 91" href="ebb74ff2-abb1-4e1b-a76a-563a5cbbea9a#Appendix_A_91" data-linktype="relative-path">&lt;91&gt;</a> fail the call.</p></div>