<?php
$fmt = datefmt_create(
'en_US',
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
'America/Los_Angeles',
IntlDateFormatter::GREGORIAN
);
echo "İlk çözümleme sonucu: ". datefmt_parse( $fmt,
"Wednesday, December 20, 1989 4:00:00 PM Pacific Standard Time");
$fmt = datefmt_create(
$fmt = new IntlDateFormatter(
'tr_TR',
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
'Europe/Istanbul',
IntlDateFormatter::GREGORIAN
);
echo "\nİkinci çözümleme sonucu: ".datefmt_parse( $fmt,
"21 Aralık 1989 Perşembe 02:00:00 Doğu Avrupa Standart Saati")."\n";
?>