Novell is now a part of Micro Focus

Converting NetWare Time Stamps in Visual Basic

Articles and Tips: tip

Wolfgang Schreiber
Novell, Inc.

01 Aug 2002


NetWare time stamps may use different formats, and in many NDS time stamps you'll see a LongInt representing the number of seconds since 1-1-1970.

To get this NetWare TimeStamp into VB format, you may simply call the VB function "DateAdd," such as:

vbDate = DateAdd("s", nwTime, "01-01-1970")
vbDateStr = FormatDateTime(DateAdd("s", nwTime, "01-01-1970"))

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates