How to convert the date field number from a request form to a human readable date in RSA Via Lifecycle and Governance
Originally Published: 2016-06-30
Article Number
Applies To
RSA Version/Condition: 6.9.1 and higher
Issue
For example, take a simple form with just one date field:
- On the next page, click Finish.
- A new request is generated.
- Find the request under Requests > Requests.
- Click on the Name of the request and pull it up.
- Click on the Processing Workflow of that request, and edit it.
- Right click anywhere outside a workflow node and select Properties.
- Click on the Runtime Data tab.
- Note that the start date variable is stored as 146732496000 and not 6/30/2016, as shown here:
Resolution
This format represents epoch time, that is milliseconds since 1 January 1970. The number can be converted back to a traditional date format with one of these constructs:
- In a SQL node you could use the variable:
to_date('${jobUserData_PublicData_Regina_Date_Number_StartDate}'/1000/60/60/24 + to_date('01-JAN-1970','DD-MON-YYYY')) AS StartDate
- Or in SQL*Plus you could:
SELECT to_date('1467324960000'/1000/60/60/24 + to_date('01-JAN-1970','DD-MON-YYYY')) AS StartDate FROM dual;
Related Articles
RSA Identity Governance & Lifecycle request form does not populate Entitlement selector correctly 80Number of Views Default Application Business Source attributes are returning null values when called through variables in Request Forms in… 71Number of Views Zendesk for Sales - RSA Ready Implementation Guide 7Number of Views Request Form Field Enabled condition for Control Type Checkbox does not disable the field in RSA Identity Governance & Lif… 23Number of Views Error while clicking on form under Additional Information in change request created via webservices in RSA Identity Govern… 64Number of Views
Trending Articles
RSA Authentication Manager 8.7 SP2 Setup and Configuration Guide RSA MFA Agent 2.5 for Microsoft Windows Installation and Administration Guide How to Upgrade Internal SHA-1 Certificates to SHA-256 in Authentication Manager Using rsautil RSA Release Notes for RSA Authentication Manager 8.8 RSA Authentication Manager 8.9 Setup and Configuration Guide
Don't see what you're looking for?