I'd like to create a string from the current date context variable in the following format: YYYYMMDDHHmm
On a form you can create a variable and use the formatDate function to specify a custom date format.
Is there any way to do the same with a component workflow?
If not, is there a cleaner way to do it than:
1. format date to string
2. apply a regular expression
3. loop through each character in the result collection and create a string concatenating each character?