add helper for date formatter

@rheaton @styliii @BrainScraps