Major depressive disorder involves experiencing depressive symptoms for at least two weeks, while dysthymia includes milder but longer-lasting depressive symptoms for at least two years . Both conditions can significantly impact an individual's daily functioning and require treatment.