The longest time was waking up at 8AM and going to sleep at 4AM(next day)
But that was because I had to travel by airplane back home.
The longest time awake without travelling but just being on the computer was 9AM to 3AM(next day)
for both times I was wide awake the next day, and woke up normally.(9AM)