1--TEST-- 2date_modify() function [2] 3--SKIPIF-- 4<?php if (!function_exists('date_create')) echo "SKIP"; ?> 5--FILE-- 6<?php 7date_default_timezone_set("GMT"); 8$d = date_create("2005-07-18 22:10:00 +0400"); 9echo date_format($d, 'D, d M Y H:i:s T'), "\n"; 10date_modify($d, "+1 hour"); 11echo date_format($d, 'D, d M Y H:i:s T'), "\n"; 12?> 13--EXPECT-- 14Mon, 18 Jul 2005 22:10:00 GMT+0400 15Mon, 18 Jul 2005 23:10:00 GMT+0400 16