Twice, almost three times.
The first time I just felt like doing it, it was sometime last year and i just stayed up all night doing random stuff, I was mostly fine, but that next day when the afternoon came around I got really tired and had to take a 1-2 hour nap.
The second time was much more recent, the day before I asked my GF out, was our homecoming dance, and we went together, I was going to ask her out then, but I couldn't do it, and I was too nervous and worried about failing to do it again the next day to sleep that night.
The third time was last week, I had to write a short story for english class and it was due thursday, i had forgotten that it was my bro's birthday on wednesday and thus I wouldn't be home at all to write it, so I stayed up till 3 in the morning writing it. It wasn't technically an all-nighter though because I did end up getting 2 hours of sleep that night.
The second and third were incredibly stressful, but not because of my lack of sleep. Lack of sleep doesn't actually bother me too much.