Convert String HireDate of format YYYY-MM-dd to Unix(MM/DD/YYYY) timestamp format using Expression Language.
Okta Classic Engine
Okta Identity Engine
Lifecycle Management
Overview

This article details how to convert the date time format leveraging Okta Expression Language (OEL) for an existing application user. 

Applies To
  • Universal Directory
  • Lifecycle Management
  • Okta Expression Language (OEL)
Solution

The following Okta Expression Language example can be leveraged to help convert the hireDate attribute to match the format of MM/DD/YYYY. Admins may need to adjust the attribute name to match what was created in Okta's Universal Directory for the associated application. 

 Time.fromIso8601ToUnix(appuser.hireDate+"T00:00:00.000Z")


Related References

Recommended content

No recommended content found...