Hello..can you help me to solve my issue

I wanted to update the rows status automatically as from 0 to 1 after completion of day. I.e. update Status=1
after completion of whole day means update after 12 AM.
which query should I write to execute above?

What database? If you're using MySQL, for example, you could do something like the following:

UPDATE records
SET status = 1
WHERE timestamp < NOW() - 24 HOUR

In this case, the timestamp column is a MySQL timestamp. We are setting status = 1 if the value of the column is at least 24 hours ago from the current time. Is this the kind of thing you're looking for?