note 124638 added to function.jdtojewish
| From: | Berel@php.net | Date: | Thu, 23 Jan 2020 04:59:37 +0000 |
| Subject: | note 124638 added to function.jdtojewish | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213943@lists.php.net to get a copy of this message | ||
If you wish to format the hebrew date as this (ignore the brackets): [×"×
ס××× ×'תשע"×], since none of the 3 bitmasks include this
format, you can use the CAL_JEWISH_ADD_GERESHAYIM mask, and then insert the ' into the year
with the second line, as shown:
$hebdate = jdtojewish(gregoriantojd(6,14,2015),1,CAL_JEWISH_ADD_GERESHAYIM);
$hebdate = substr_replace($hebdate,"'",strrpos($hebdate," ")+2,0);
----
Server IP: 45.112.84.4
Probable Submitter: 38.142.137.34 (proxied: 96.57.149.102)
----
Manual Page -- http://php.net/manual/en/function.jdtojewish.php
Edit -- https://master.php.net/note/edit/124638
Del: integrated -- https://master.php.net/note/delete/124638/integrated
Del: useless -- https://master.php.net/note/delete/124638/useless
Del: bad code -- https://master.php.net/note/delete/124638/bad+code
Del: spam -- https://master.php.net/note/delete/124638/spam
Del: non-english -- https://master.php.net/note/delete/124638/non-english
Del: in docs -- https://master.php.net/note/delete/124638/in+docs
Del: other reasons-- https://master.php.net/note/delete/124638
Reject -- https://master.php.net/note/reject/124638
Search -- https://master.php.net/manage/user-notes.php