Active Directory show users the date of the password change is recorded

NethServer Version: 7.9.2009
Module: Active Directory

Hi i come from Indonesia.
I just enabled Force periodic password changes for 90 days, but a user is asking me to indicate when he last changed his password, this is needed for audit document purposes.

can someone help me to find where is the active directory user password change log?

i can only use this command to view user details :
nsdc-run – samba-tool user show itd15

then I created a python script to change pwdLastSet :

import datetime

def convert_windows_time(windows_time):
windows_epoch = datetime.datetime(1601, 1, 1, 0, 0, 0)
unix_epoch = datetime.datetime(1970, 1, 1, 0, 0, 0)
epoch_diff = (unix_epoch - windows_epoch).total_seconds()
windows_time = int(windows_time) / 10**7
unix_time = windows_time - epoch_diff
return datetime.datetime.fromtimestamp(unix_time)

windows_time_str = “132710400000000000” # Replace with actual pwdLastSet value
print(convert_windows_time(windows_time_str))

this seems impractical