问题
How can i get the current day of week in xslt. Like Monday, tuesday.... 0,1,2 would also be acceptable.
How can I do this in XSLT?
回答1:
Since it's XSLT 2.0:
format-date(current-date(), '[F]')
回答2:
Have a look at link,this may help you http://www.xsltfunctions.com/xsl/functx_day-of-week.html
来源:https://stackoverflow.com/questions/15923575/get-current-day-in-week-with-xslt