If date values are written to a field via LotusScript they always include
also a time value. If there is no time value it is automatically set to
"00:00:00". Normally this is okay. But if you want to display
the document in a calendar view the result could be unwanted. Because the
entry will be shown at "00:00:00". ("12:00 Midnight"
for our American friends)
The calendar view works as designed.
If the field contains only a date value the entry will be displayed above
the time slots. If there is a date and a time value the entry will be at
that time in the time slot. What a pity that there is no way to create
only a date value with out time via LotusScript.
Once more Evaluate comes for rescue.
The main point is not to write the return
value from Evaluate into the field. Instead use @SetField directly in the
Evaluate statement.
Dim
eval As Variant
eval = Evaluate(|@SetField("DateLS";
@today);|,
doc)
And here it is a date value calculated
with LotusScript without a time value.