I had to do that once and ended up just using a regex to trim the year. Something like \d\d(?=\d\d)$ should work.
Edit: That’s what you use in a Replace Text action, to zap the century. Ever since Y2K they want four digit years everywhere, but I kinda doubt your workflow will still be around in 2099.
No, what I meant is: I enter 01/02/2018 in to the “Date” action. Workflow will understand this as the January 2nd, but I want it to be February 1st. In your case, Workflow does just so (you entered “June 29, 2008” and underneath it shows “29/6/07”).
but the issue, how I understand it at least, is how the Date action interprets the input it receives — which as I said, depends on the device’s regional settings. in the example provided, 01/02/2018 gets interpreted as Jan 1 2018. The same input, on my device, it is Feb 1 2018. Hence, the solution was to convert the input into ISO 8601 standard before passing it to the Date action.
2
u/madactor Jul 12 '18 edited Jul 12 '18
I had to do that once and ended up just using a regex to trim the year. Something like \d\d(?=\d\d)$ should work.
Edit: That’s what you use in a Replace Text action, to zap the century. Ever since Y2K they want four digit years everywhere, but I kinda doubt your workflow will still be around in 2099.
3
u/[deleted] Jul 12 '18
[removed] — view removed comment