note 128301 added to datetime.format
| From: | pierre dot henry at code99 dot fr | Date: | Sat, 11 Mar 2023 08:11:40 +0000 |
| Subject: | note 128301 added to datetime.format | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220257@lists.php.net to get a copy of this message | ||
If you want escape any character, use back-slash.
Sample:
date('H\hi', time()); // 17h00
And if you have problem with escape character, specially with \n for sample, double back-slash \\n
----
Si vous voulez échapper n'importe quel caractère, utilisé l'anti-slash.
Par exemple:
date('H:\hi', time()); // 17h00
Et si vous avez des problèmes avec le caractère d'échappement, en particulier avec \n,
utilisez le double anti-slash \\n
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.130 (proxied: 2001:861:4ec2:810:d92e:b7db:677a:1e06)
----
Manual Page -- https://php.net/manual/en/datetime.format.php
Edit -- https://main.php.net/note/edit/128301
Del: integrated -- https://main.php.net/note/delete/128301/integrated
Del: useless -- https://main.php.net/note/delete/128301/useless
Del: bad code -- https://main.php.net/note/delete/128301/bad+code
Del: spam -- https://main.php.net/note/delete/128301/spam
Del: non-english -- https://main.php.net/note/delete/128301/non-english
Del: in docs -- https://main.php.net/note/delete/128301/in+docs
Del: other reasons-- https://main.php.net/note/delete/128301
Reject -- https://main.php.net/note/reject/128301
Search -- https://main.php.net/manage/user-notes.php