Returns a date from a form variable by trying to convert the string date input to a date time value. Supports ISO date conversion for native type="date"
and type="datetime-local"
inputs as well as default locale parsing using CTOT()
.
o.FormDate(lcFormKey, llNullIfNotFound)
Return Value
Date or if date is empty or can't be converted. Null if lcFormKey is not found and llNullIfNotFound is .t.
Parameters
lcFormKey
The form variable from which to read the date input.
llNullIfNotFound
If not lcFormKey is not found null is returned
See also:
Class wwrequest© West Wind Technologies, 1996-2024 • Updated: 10/27/15
Comment or report problem with topic