How to convert to end of that day in php?
This post converting the date to end of that day in php.
1. Code:
");
echo(convertMySqlDateToEndDay($str1));
?>
2. Example:
Input:
"2022-06-27" "2022-06-27 00:00:00"
Output:
2022-06-27 23:59:59 2022-06-27 23:59:59