This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git rev-parse --abbrev-ref HEAD |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $dateWithTZ = new DateTime(null, new DateTimeZone('Europe/Moscow')); | |
| $dateTimeNow = $dateWithTZ->getTimestamp() + $dateWithTZ->getOffset(); | |
| echo 'Default timezone E/M: '.$dateTimeNow."\r\n"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for (const key in jsonObj) { | |
| if (jsonObj.hasOwnProperty(key)) { | |
| console.log( key + ' -> ' + jsonObj[key] ); | |
| } | |
| } |