Accepted options for DateTime: - format: A DateTime compatible string
Parameters: | array|Traversable – |
---|---|
Return type: | DateTime |
Retrieve the element value
If the value is a DateTime object, and $returnFormattedValue is true (the default), we return the string representation using the currently registered format.
If $returnFormattedValue is false, the original value will be returned, regardless of type.
Parameters: | bool – |
---|---|
Return type: | mixed |
Retrieve the DateTime format to use for the value
Return type: | string |
---|
Retrieves a Date Validator configured for a DateTime Input type
Return type: | DateTime |
---|