Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

AD accountImport LastLogon convert it to specific Date format and store to CP

mbh_it1
New Contributor II
New Contributor II

Hello team,

 

I have following mapping for getting lastlogondate in CP21 as 

CUSTOMPROPERTY21::lastLogon#millisec,

I want to change the value to  "mm-dd-yyyy HH:MM:SS"

Thanks

Mahesh

5 REPLIES 5

rushikeshvartak
All-Star
All-Star
  • in AD connector you can't change date format or use string manipulation.
  • You can use enhanced query to change date format on accounts another Customproperty

Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

mbh_it1
New Contributor II
New Contributor II

Thanks @rushikeshvartak 

 

Thanks

Mahesh

pmahalle
All-Star
All-Star

Hi @mbh_it1 ,

Can you try something like below and check once. It's working for use for user import but not sure for account import

CUSTOMPROPERTY21::lastlogon#Winepoch-customDate


Pandharinath Mahalle(Paddy)
If this reply helps your question, please consider selecting Accept As Solution and hit Kudos 🙂

mbh_it1
New Contributor II
New Contributor II

Hi @pmahalle 

It converted to following format, but not as desired

mbh_it1_0-1718375208770.png

Thanks

Mahesh

 

SELECT
DATE_FORMAT(a.customproperty21, '%m-%d-%Y %H:%i:%s') AS accounts__customproperty22,

acccountkey as accounts__primarykey
FROM
accounts a where endpointkey=1 and status=1;


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.