datetime – Eternal Night https://www.shuijingwanwq.com There is no problem not worth solving, and no technology not worth learning! Fri, 05 Jun 2026 13:34:53 +0000 en-US hourly 1 https://wordpress.org/?v=7.0 In Yii2, the request parameter 2025-04-04 in the interface is stored in the database as 2025-04-04 23:59:59 https://www.shuijingwanwq.com/en/2025/06/02/11653/ https://www.shuijingwanwq.com/en/2025/06/02/11653/#respond Mon, 02 Jun 2025 01:50:57 +0000 formatter]]> https://www.shuijingwanwq.com/?p=11653 formatter is a tool for display, not designed for the format of data storage. Decide to splicing directly, and […]]]> https://www.shuijingwanwq.com/en/2025/06/02/11653/feed/ 0 Set the default value of DateTime in Laravel 9, MySQL 8.0 to0000-00-00 00:00:00Time error: sqlstate[42000]: Syntax error or access Violation: 1067 Invalid default value forOPERATED_AT_GMT https://www.shuijingwanwq.com/en/2024/02/20/12074/ https://www.shuijingwanwq.com/en/2024/02/20/12074/#respond Tue, 20 Feb 2024 07:05:04 +0000 https://www.shuijingwanwq.com/?p=12074 https://www.shuijingwanwq.com/en/2024/02/20/12074/feed/ 0 Response error in GraphQL: expected a value of type \”datetime\” but received: 2021-11-23t02:04:48.000000z https://www.shuijingwanwq.com/en/2023/12/11/12162/ https://www.shuijingwanwq.com/en/2023/12/11/12162/#respond Mon, 11 Dec 2023 01:54:38 +0000 https://www.shuijingwanwq.com/?p=12162 https://www.shuijingwanwq.com/en/2023/12/11/12162/feed/ 0 Convert 20231020105244000+0800 to the format of Y-M-D H:I:S in PHP https://www.shuijingwanwq.com/en/2023/06/06/12605/ https://www.shuijingwanwq.com/en/2023/06/06/12605/#respond Tue, 06 Jun 2023 01:09:33 +0000 https://www.shuijingwanwq.com/?p=12605 https://www.shuijingwanwq.com/en/2023/06/06/12605/feed/ 0 In PHP, an error is reported: “classweibo\\rests\\oauth2\datetimeAnalysis and Solution of Not Found” https://www.shuijingwanwq.com/en/2019/01/18/10284/ https://www.shuijingwanwq.com/en/2019/01/18/10284/#respond Fri, 18 Jan 2019 09:55:56 +0000 https://www.shuijingwanwq.com/?p=10284 https://www.shuijingwanwq.com/en/2019/01/18/10284/feed/ 0 Yii2 uses the core validator: compare the date value, add a new verification rule (conditional verification: when one date value is not empty, another date value is required) https://www.shuijingwanwq.com/en/2018/03/15/15887/ https://www.shuijingwanwq.com/en/2018/03/15/15887/#respond Thu, 15 Mar 2018 09:28:07 +0000 https://www.shuijingwanwq.com/?p=15887 https://www.shuijingwanwq.com/en/2018/03/15/15887/feed/ 0