Added a wrapper for date output