Hello All,
We have to send account expiration date to active directory which accepts date in filetime format. However, from source system we are getting date in normat text format.
We should convert it to epoch time which is the 100s nanosecond elapsed since epoch time i.e. Jan 01 1960 12:00:00 .
for ex. filetime format for Oct 3rd 2019 is
132145523999997120 . We need to know the exact logic to calculate this through any programming platform.
If anyone has an idea request you to please revert with your expert advice on same. Your help is highly appreciated.
Thanks in advance
Akansh Bhatnagar