In case someone else comes across this needing to manipulate date/time formats with Okta, the example above should work with:
Time.fromIso8601ToString(user.hiredate,“MM/DD/YYYY”)
I also had to convert had to convert a string from “YYYY-MM-DD” to “MM/DD/YYYY”, and was able to do so successfully with:
Time.fromIso8601ToString((Time.fromStringToIso8601(user.hiredate,“YYYY-MM-DD”)),“MM/DD/YYYY”)
**You may need to change user.hiredate depending on the variable name you use in your Okta user profile.
https://developer.okta.com/docs/reference/okta-expression-language/#time-functions