PHP code example of gordesch / cine-carbon
1. Go to this page and download the library: Download gordesch/cine-carbon library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gordesch / cine-carbon example snippets
use Gordesch\CineCarbon;
CineCarbon::now()->startOfWeek()->dayOfWeek; // 3 (Wednesday)
CineCarbon::now()->programmingWeek(); // i.e. "2019-03"