get date from base dat + interval (nanoseconds)
chrissy2Feb 27 2008 — edited Feb 27 2008Hi,
I'm using the DBMS_LDAP package for getting some information about the users.
There's an attribute accountExpires returning the number of 100 nanosecond intervals since January 1, 1601 (UTC).
How can I convert this value the way, that the date is shown.
For example from January 1, 1601 to March 28, 2008 it is 128512188000000000
16010101 (YYYYMMDD) + this interval should return 20080326.
Can this somehow be done???
Thanks
chrissy