Datetime c functions should not be static