A non well formed numeric value encountered
2021. 3. 11. 09:52ㆍPHP
728x90
Because you are passing a string as the second argument to the date function, which should be an integer.
string date ( string $format [, int $timestamp = time() ] )
Try strtotime which will Parse about any English textual datetime description into a Unix timestamp (integer):
date("d", strtotime($_GET['start_date']));
728x90
반응형
'PHP' 카테고리의 다른 글
윈도우10 APM 설치 (0) | 2022.04.07 |
---|---|
file_get_contents(): ssl: handshake timed out (0) | 2021.03.11 |
html to pdf php library (0) | 2021.02.19 |
vscode xdebug 설정 spawn php ENOENT 에러 해결 (0) | 2021.01.28 |
xampp, xdebug, vscode 세팅 (0) | 2021.01.27 |