- var_dump: documentation ( source)
<?php
$userTimezone = new \DateTimeZone('Europe/Helsinki');
$from = new \DateTime( 'now', $userTimezone );
$from->modify( 'first day of this month' );
//$from->sub( new \DateInterval( 'P5D' ) );
$from->setTime(0,0,0);
$from->setTimezone( new \DateTimeZone( 'UTC' ) );
$from2 = clone $from;
$timezone = $from2->getTimestamp();
var_dump($from);
var_dump($from2);