I have come accross an interesting feature / bug in VB and could not find any information regarding a solution...
Maybe someone has more knowledge regarding it...
Create (In VB6) a Dll (MyDll) with a class (MyClass) with a method (showDate)
The method should look like this:
Public Function showDate() as string
showDate = Format(now, "dd mmmm yyyy")
Compile it and call it in an ASP page
set oX = Server.createObject("MyDll.MyClass")
The machine was originally installed with German Regional Options and other German software...
After that the Regional Settings was changed to English (W2k Server)
The problem is that I expect to see an output of
11 February 2003 (on 11 Feb 2004)
However, on this server I see
11 Februar 2003 - GERMAN DATE
Anyone ever come accross the same thing?
p.s. FormatDateTime(now, vbLongDate) in ASP works fine