Retrieves the date and time the core library executable was last compiled.
VB6/VBA
Debug.Print "Testing API_CompileTime ..."
Dim nLen As Long
Dim strCompiledOn As String
strCompiledOn = String(255, " ")
nLen = API_CompileTime(strCompiledOn, Len(strCompiledOn))
strCompiledOn = Left(strCompiledOn, nLen)
Debug.Print "API_CompileTime returns " & nLen & " [" & strCompiledOn & "]"
Output
Testing API_CompileTime ... API_CompileTime returns 20 [Mar 19 2009 14:44:41]
VB.NET
Console.WriteLine("Testing API_CompileTime ...")
Console.WriteLine("API_CompileTime returns " & " [" & General.CompileTime() & "]")
[Contents]