php convert datetime +02:00 to utc timestamp code example Example: php date set utc <?php date_default_timezone_set('America/Los_Angeles'); ?>