Hi Puffster,
try this:
public function formatDate(dt as string) as stringIf IsDate(dt) return "Yes"End Ifreturn "No"end function
and call the code as this:
=Code.formatDate(CSTR(Fields!YourField.Value))
Regards Harsh
No comments:
Post a Comment