Hi,
I’m trying to convert the AD attribute “lastlogon” timestamp into Datatime format. Is there any transform logic i can refer to. So I create a transform to convert
"Lastlogon : 133185254260130990 " into DateTime format.( GMT : Wednesday, January 18, 2023 2:23:46 PM) in INow.
Hello @chandramohan2706 ,
You will want to take a look at the DateFormat transform to be able to accomplish this. Date Format | SailPoint Developer Community
Your input format looks like one of our default formats EPOCH_JAVA_TIME
. Then you would specify your output format in the transform using the simple date format. SimpleDateFormat (Java Platform SE 8 )
@tyler_mairose
Thankyou, This helped me.
This converts the time into GMT zone, But i need the time under EST zone. Do we have any Date format for this.
@chandramohan2706
I don’t believe so, the date format transform comes back as is and there is no way to change timezones.
If you need to change the timezone you may want to write an identity attribute rule and use java code to convert. Identity Attribute Rule | SailPoint Developer Community
1 Like