I like to think of Donald Trump as just obsessively glued to his computer in the middle of the night much like the fat boy he speculated was responsible for the DNC hacking (though more devoted to taking offense and picking fights than to picking digital locks). But that's not entirely right.
The method in his madness (as described in Bradley Eversley's answer (on Quora) to Why do you think Trump always sends disturbing or controversial tweets in the middle of the night? ) is to always find something to grab attention at the beginning of the news day (and the more outrageous the better for this purpose) as a distraction from whatever more really serious allegations are being made against him or damage he is about to do.
Update: And here's a related quote from an article by Stephanie Hayes in the Atlantic:
As a Time interviewer aptly summarized during a recent chat with the president: “Whatever the reality of what you are describing, the fact that [the facts] are disputed makes them a more effective message, that you are able to spread the message further, that more people get excited about it, that it gets on TV.”