Hi!

> It can be a UTC timestamp (if $local is false), but note it's in 
> milliseconds since the epoch, not seconds. The documentation is here:

It looks like it's the only place in PHP where we represent date this
way. Given that this function has no docs at all, it's even more
confusing. Can't we make it work in line with all other PHP functions
that deal with dates? I understand ICU does it this way, but should we
really make the API mimic ICU so closely? How would one use such function?

-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to