Accurately getting player's local time?

Theres no foolproof way to do this (since vpns and stuff literally exist), but perhaps take a try with localization service? (you can get the country of the player, which you can then use to find the timezone)