NOW() function in PHP September 12, 2022 by Tarik You can use the date function: date("Y-m-d H:i:s");