Are there more Date functions other than sw:toShortDate?
I'm trying to output the following timestamp ("2019-06-25T10:39:09.28Z") as YYYYMMDD (20190625).
Is this possible?
-
Official comment
Hello Jack,
The function listed below is one you will 100% benefit from in this regard, allowing complete control of the Date/Time format.
sw:FormatDateTime(//Date, 'yyyyMMdd') would produce the exact results in your request. Using yyyy, MM, dd, HH, mm, and ss characters for representing date and time, allow for flexible formatting of each piece to your exact preference.
Thank you for reaching out to ShipWorks Forum.
-Let's Do It!
Comment actions
Please sign in to leave a comment.
Comments
2 comments