Using @IsDate function will only tell you if a FIELD is in Time/Date format,
not if the value is valid. To properly validate that a text field has a valid
Time/Date value (when not originally specifying the field as Time/Date to begin
with)...
Convert the text value to time with @TextToTime. If invalid Time/Date, the
conversion will result in nothing!
@If(@Text(@TextToTime(DateField))= "";@Failure("Invalid Date");@Success)
Requires Free Membership to View
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
This was first published in November 2000