次の表に、XQueryで提供される一般的に使用される日付関数を示します。
current-date()
現在の日付を返します。
current-time()
現在の時刻を返します。
current-dateTime()
現在の日付と現在の時刻の両方を返します。