Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Convert LDAP Epoch to Date

SELECT
  ...
 ,CAST((CAST(accountExpires AS numeric(28,0)) / 864000000000.0 - 109207) AS DATETIME)
 ...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Convert #LDAP #Epoch #Date
ADD COMMENT
Topic
Name
4+8 =