title: Is there any way in XQuery to get the current time in milliseconds since some Epoch?
body: <p><code>XQuery</code> offers various <code>date/time</code> functions like <code>current-dateTime()</code>, however I can't seem to find one which gives me the time in <strong>milliseconds</strong> since Epoch. Functions to extract hours, minutes and seconds seem to exist too individually.</p>
  
  <p>What is the right way to get the Epoch time (i.e. unix time or similar) in <code>XQuery</code>? </p>