PHP online docs are very useful: http://www.php.net/manual/en/ref.datetime.php
mktime accepts the arguments hour , minute , second , month , day , year .
$ts = mktime(0, 0, 0, 1, 22, 1985);
Date.UTC returns milliseconds, while mktime returns seconds, so if you still need milliseconds, multiply them by 1000.
source share