Correction of my user contributed note on php.net
| From: | Rob Jakobs | Date: | Mon, 02 Jul 2018 13:55:50 +0000 |
| Subject: | Correction of my user contributed note on php.net | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-27103@lists.php.net to get a copy of this message | ||
Hi guys,
I appologise for bothering you, but my User Contributed Note for the php date() function which I posted yesterday (1st July 2018 at approx 16:00 GMT, under email reference "rob at rob-jakobs dot nl") is incorrect. I would like to withdraw it, but I do not see how I can do this.
The note is incorrect, because what I am describing only works with the function gmdate() and not with date().
Can you please delete it? Below a short extract of mentioned note.
I will repost the note under the gmdate() function, for which it does works.
Kind regards,
Rob Jakobs
rob@rob-jakobs.nl
==========================================================
The mentioned note begins as follows:
|If you want to calculate the time period between two clocked events that happen within a 24 hour time period, for example the daylight period between sunrise and sunset, you may use the fact that the date() function also accepts a negative timestamp. If the time period shall be presented in the format hours:minutes you can use|
|....... etcetera.....
|