Add ui_methods for datetime manipulation.