This is not going to be thread safe. Any multi-tenant applications with different date formats will be a problem.