- print_r: documentation ( source)
- date_default_timezone_set: documentation ( source)
- strtotime: documentation ( source)
- define: documentation ( source)
<?php
if (!defined('PHP_EOL')) define(PHP_EOL, "\r\n");
date_default_timezone_set('Europe/London');
print strtotime('next thursday');
print PHP_EOL;
print_r(new DateTime('next thursday'));