How to display the current date & time in the Freemarker template section of smooks? -


I am able to use smooks in the contents of my incoming XML file in the freemarker template, but I add the current date Want to & amp; My local system time to identify the execution of my program

  & lt; Ftl: freemarker applied OnElement = "CreditCard" & gt; & Lt; Ftl: templates & gt; & Lt ;! - & lt; Balance Inquiry & gt; & Lt; TransactionId & gt; $ {BalanceInquiryRequest.TransactionId} & lt; / & LT; TransactionId & gt; & Lt; ConfigurationId & gt; $ {BalanceInquiryRequest.ConfigurationId} & lt; / ConfigurationId> & Lt; CardNumberr & gt; $ {. Wars ["Gift Card"] CardNumber.} & Lt; / CardNumberr & gt; & Lt; ExpirationDate & gt; $ {. Wars ["Gift Card"] ExpirationDate.} & Lt; / ExpirationDate & gt; & Lt; SecurityCode & gt; $ {. Wars ["Gift Card"] SecurityCode.} & Lt; / SecurityCode & gt; **************************************************************************************************** **************************************************************************************************** ******************************************************** I Time & lt; / BalanceInquiryRequest & gt; - & gt; & Lt; / FTL: Templates & gt; & Lt; / FTL: freemarker & gt;  

Can you tell me how I can add the current date & amp; Time without entering XML in XML

Now, they presented it some time ago, no need for Java


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -