notesViewColumn.DateFmt and TimeFmt incorrect

I have a database with a LotusScript agent.The agent is getting columns from a view like the example in the designer help:

Dim view As NotesView

Set view = db.GetView( “By Date\Ascending By Main Topic” )

Forall c In view.Columns

Messagebox ( c.TimeFmt )

End Forall

The Help reads:

Legal values

VC_FMT_HMS (1) for hour, minute, second.

VC_FMT_HM (0) for hour, minute.

VC_FMT_H (2) for hour only

VC_FMT_ALL (3) for hour, minute, second and hundredths of a second.

The values returned by the agent are differnt:

HMS = 0

HM = 1

H = 1

ALL = 0

Same for DateFmt.

Reproducable on Linux and Window servers.

Anyone else seen this?