度からミリ秒変換
例)
$lat = 136.6694786;
$dgree = $lat;
$min = ($lat – (int)$dgree) * 60 ;
$sec = ($lat – (int)$dgree) * 60 – (int)$min;
echo $dgree.”\n”;
echo $min.”\n”;
echo $sec.”\n”;
echo ((int)$dgree * 3600 + (int)$min * 60 + $sec * 60 ) * 1000; //ミリ秒
HTML5