PHP code example of timezone / constants
1. Go to this page and download the library: Download timezone/constants 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/ */
timezone / constants example snippets
$nowInBuenosAires = new \DateTime(
'now',
new \DateTimeZone(\TimeZone\Constants::AMERICA_ARGENTINA_BUENOS_AIRES)
);