Date helpers in function-per-file style