added helper for date output