How can I check if a data is a datetime for example
$x = 12345 //False
Thanks
Define "datetime" in this context. (After all, "12345" is a valid unix timestamp integer, so in that context it's a valid "datetime".)