DateTime API: code formatter