<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi,<br>
      <br>
      Have you looked at the $time(format) script variable:<br>
      <br>
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Script-CoreVar-2-3#toc87">http://www.opensips.org/Documentation/Script-CoreVar-2-3#toc87</a><br>
      <br>
      You can take the all the time fields at once, and use a
      transformation to split them if you need the fields in separate
      variables.<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
    <div class="moz-cite-prefix">On 10/31/2017 10:36 AM, Dipteshkumar
      Patel wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAD4_Da32mWMgqLk=qUSFL5DTWfN7gNPajTNhXLCdp5RVAhOwUg@mail.gmail.com">
      <div dir="ltr">Dear sir,
        <div><br>
        </div>
        <div>I am using Opensips version 2.3.1</div>
        <div><br>
        </div>
        <div>I am using $Ts and $Tsm for time stamp for CDR but the
          microsecond time stamp is not same as system time stamp. To
          resolve the issue i am using exec() to get the system time but
          i takes so much time (nearly 5ms ) whenever so many calls
          concurrently running on server(We need exact time because it
          will affect the call duration).</div>
        <div> </div>
        <div>Can you please suggest me solution for the issue ?</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div><br>
        </div>
        <div>
          <div>
            <div class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr"><b>Diptesh Patel</b>
                <div>Jr. Software Developer </div>
                <div>Ecosmob Technologies Ltd</div>
                <div>Ahmedabad</div>
                <div>Mo:<b>+919898962659</b></div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>