This function determines whether the provided value is of type datetime.
This function does not generate a change.
is_datetime(value)
Argument | Type | Description |
---|---|---|
value | any (required) | The value to be tested. |
Returns true
if the given value is of type timeval
, else false
.
This code shows some return values for is_utf8():
[
is_datetime( timeval(2013, 2, 6) ),
is_datetime( datetime(2013, 2, 6) ),
];
Return value in JSON format
[
false,
true
]