How to retrieve modified date of asset (credentials) in UiPath Orchestrator

Hi Uipath community of experts,
I am trying to automate a process where we have saved robot credentials as Assets in orchestrator.

In my process, I need to login into one of the applications using retrieved credentials. However, since there is security policy to reset password every (say N) days, I need to reset the password on the day of expiry. I am aware of Get Credential and Set Credential activities. However, I am not sure how can we retrieve the modified date of password in Asset within Orchestrator.

At the moment, we have designed a solution by adding extra variable as asset and storing modified date. IF anyone is aware of better alternative or activity within Uipath with better approach, could you please provide me any guidance.