In graphical mapper, how do we enter today's date as the default date ?
If you are asking, what would you do to fill the target element with the current date and time, there are Date functions available in Graphical Mapper Function modeller. Just point to the target element and from context menu select Add function..
If you go into the XSLT editor part you can use also:
<xsl:<span class="hljs-keyword">value-of <span class="hljs-keyword">select=<span class="hljs-string">"current-dateTime()"/>
There is also current-date() and current-time() function available
current-date()
current-time() function available
it works thks
If I put <xsl:value-of select="current-date()"/>, I get 2020-11-19Z. how do I remove the "Z" ?
Use substring function of XSLT. I guess you would have to cast current-date() output as a string first.
thks Tilen