title: How to get current date and time in XSLT 1.0
body: <p>I am using xslt 1.0, I am trying to print current date and time to my node. Below is the sample xslt</p>
  
  <pre><code>&lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tcm="http://www.tridion.com/ContentManager/5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:em="http://www.emirates.com/tridion/schemas" xmlns:tcmse="http://www.tridion.com/ContentManager/5.1/TcmScriptAssistant" exclude-result-prefixes="em xlink tcmse tcm"&gt;
    &lt;xsl:output method="xml" version="1.0" encoding="UTF-16" indent="yes"/&gt;
  
    &lt;!-- Common XSLT Templates--&gt;
    &lt;xsl:include href="tcm:228-190524-2048"/&gt;
    &lt;!-- root match--&gt;
    &lt;xsl:template match="root"&gt;
      &lt;sitedata&gt;
        &lt;resources&gt;        
          &lt;PublishedDate&gt;
            &lt;xsl:value-of select="$publishedDate"/&gt;
          &lt;/PublishedDate&gt;
        &lt;/resources&gt;     
      &lt;/sitedata&gt;
    &lt;/xsl:template&gt;
  </code></pre>
  
  <p>In above XSLT, in the place of <strong>$publishedDate</strong> I want system current date and time</p>
  
  <p>please suggest!!</p>