Inclusion Criteria:  Diagnosed with type 2 diabetes mellitus HbA1c 7.0% to 8.5% BMI ≥ 24 kg/m2 Time of energy intake ≥ 12 hours per day, ≥ 4 days per week Ability to use smart phone and app, to follow study protocol Sign informed consent  Exclusion Criteria:  Use insulin, long-acting insulin secretagogues, GLP-1 receptor agonist, DPP-4 inhibitor, SGLT-2 inhibitor Suffer from disease influence eating: mental disease, subtotal gastrectomy, inflammatory bowel disease, uncontrolled thyroid disease Work state affect eating time: constant night duty, constant long-haul international travel Smoking Drinking Severe disease: severe cardiovascular and cerebrovascular disease, uncontrolled arrhythmia, heart failure, acute and chronic renal dysfunction, liver cirrhosis, malignancy, anemia Suffered from infectious disease: pulmonary tuberculosis, AIDS Dyskinesia Body weight change ≥ 5 kg in the past 3 months Hospitalized in the past 3 months Used antibiotics for ≥ 3 days in the past 3 months Diagnosed with type 1 diabetes mellitus Pregnancy, lactating Participating in other clinical trials in the past 1 months