[SOLVED] Add a comma to the date-time field |
2/7/2021 13:24:41 | |
| PHPRunner General questions | ||
|
A
alfonso authorDevClub member
I have a date-time field that stores the data in this format: 2021-02-05 19:51:44, but I need, for compatibility with a script, that there is a comma separating the date from the time, like this: 2021-02-05, 19:51:44. Have you any solution occurs? |
||
|
S
|
salus1DevClub member 2/7/2021 |
|
<?php |
|
|
A
|
alfonso authorDevClub member 2/8/2021 |
|
Perfect! |
|
|
D
|
danaci 2/8/2021 |
|
.. |
|