Create period formatter