add localtime example.