Hello everyone, tell me in the cell there is such a value:
1356364843
This is a Unix-Date, and so I need to turn it into a view:
24.12.2012
Because I need to make a comparison right away in the request, and if the date is equal to the one that the user indicates ... however, I don’t know how to immediately convert it to this view ... The request is like this:
SELECT COUNT(id) FROM tb_user WHERE конвертация(date_reg) = '$date_enter'
Where the conversion is the name of the function with which you can do this (I do not know what it is called), where $ date_enter is a variable in which the data entered by the user is stored.