I have the following PHP code:
$date = 'janvier 1, 2014 à 5:00PM';
$formatter = new IntlDateFormatter('fr_CA', IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Toronto', IntlDateFormatter::GREGORIAN, 'MMMM d, yyyy 'à' h:mma');
$date = $formatter->parse($date);
var_dump($date);
The output is:
int(1388613600)
This appears to be a UNIX timestamp, which is always UTC, Right? So it's automatically being converted from America/Toronto?
Just confirming that I have this correct. I don't have a lot of experience with PHP and time zones, so I appreciate any help.