add operators for switching date format