<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/temporal.getLsqt.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>temporal.getLsqt</api:function-name><api:suggest>temporal.getlsqt</api:suggest><api:suggest>temporal</api:suggest><api:suggest>getlsqt</api:suggest><api:function-link mode="xquery" fullname="temporal:get-lsqt">/apidoc/8.0/temporal:get-lsqt.xml</api:function-link><api:function mode="javascript" name="getLsqt" type="builtin" lib="temporal" category="Temporal" hidden="false" bucket="MarkLogic Built-In Functions" prefix="temporal" namespace="http://marklogic.com/xdmp/temporal" fullname="temporal.getLsqt"><api:summary>
  This function returns the Last Stable Query Time (LSQT) for the collection at current moment. 
  Should read lock if it is in update.
  <p xmlns="http://www.w3.org/1999/xhtml">
  For details on how to use LSQT, see  
 <a href="/guide/temporal/managing#id_75536">Last Stable Query Time (LSQT) and Application-controlled System Time</a> in the <em>Temporal Developer's Guide</em>  
  </p>
  </api:summary><api:params><api:param name="temporal-collection" type="xs:string"><api:param-description>Name of temporal collection to get LSQt on
    </api:param-description><api:param-name>temporal-collection</api:param-name><api:param-type>String</api:param-type></api:param></api:params><api:return>Date</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
var temporal = require("/MarkLogic/temporal.xqy");
temporal.getLsqt("temporal");

// Returns the Last Stable Query Time for the "temporal" collection. 
</pre></api:example></api:function></api:function-page>