To get the current date/time in string format, you can use the date () function in PHP. Here is an example:
$currentDateTime = date('Y-m-d H:i:s');
echo $currentDateTime;
This will output the current date/time in the format YYYY-MM-DD HH:MM:SS. You can adjust the format to your desired format using the parameters in the date () function.