I am using .NET API provided by Mircosoft to get the file info stored in data lake store in my code. These files are generated by usqljob job. when i am using the following statement:
m_adlsFileSystemClient.FileSystem.GetFileStatus(m_adlsAccountName,fileName).FileStatus.ModificationTime
then it gives me the number ticks since epoch which is a long type value. Same thing happens when i try to get the expiration time of a file:
m_adlsFileSystemClient.FileSystem.GetFileStatus(m_adlsAccountName,fileName).FileStatus.ExpirationTime.
How can i get the date time type value for both expiration time and modification? I know i can add those ticks to a datetime type value. But which datetime should i add it to?
Thanks in Advance