18 hours would be my longest record. I honestly couldn't stay awake long enough without having any sleep. Probably the longest was when me and my group mates were finishing our thesis before the submission date. It was severely stressful 'cuz there were still a lot of things needed to be addressed like our respondents' survey and etc.