<?php
$date = new DateTime("now", new DateTimeZone('Asia/Tomsk'));
$date->modify('-1 day');
echo $date->format('d.m.Y');
?>
<?php
$date = new DateTime("now", new DateTimeZone('Asia/Tomsk'));
$date->modify('-1 day');
echo $date->format('d.m.Y');
?>
Category:
Tags: