Create lib/dates

Several modules were importing datetime format strings from the UDF
module. I wanted to add a helper function that made use of our
"standard" format string but, While not duplicating string literals is
good, entangling unrelated modules is less good.