Fix operators.
Use Date class instead of strftime.