Hi,
I'm using LAPI on Livelink 9.0.0 and having a few issues when handling dates. For example, I have this association (EnterpriseWorkspaceInfo) which I got from calling LL_AccessEnterpriseWS which has two dates. Using LL_AssocGetDate I get the value back, however my question is, how do I convert the value to the correct date?
I've tried to use the following VB .Net code and it does not seem to work all the time.
outField = DateAdd(DateInterval.Second, CType(outValue, Double), LLL_LiveLinkBaseDate)
where LLL_LiveLinkBaseDate = #12/31/1969 7:00:00 PM#
Thanks for your help
I'm using LAPI on Livelink 9.0.0 and having a few issues when handling dates. For example, I have this association (EnterpriseWorkspaceInfo) which I got from calling LL_AccessEnterpriseWS which has two dates. Using LL_AssocGetDate I get the value back, however my question is, how do I convert the value to the correct date?
I've tried to use the following VB .Net code and it does not seem to work all the time.
outField = DateAdd(DateInterval.Second, CType(outValue, Double), LLL_LiveLinkBaseDate)
where LLL_LiveLinkBaseDate = #12/31/1969 7:00:00 PM#
Thanks for your help