How is player input handled and how to get the exact input time

Basically I’m trying to get the exact time of when the player press a certain button.

I remember the pawn tick function would be after input component update, but I’m not sure whether the input action event is deferred and the order of execution.
Could someone explain a bit what exactly happened when there’s a new player input?

Right click in the blueprint graph and type “get time”. There is a few functions to get different times, use whichever one fits your needs. You can promote the output to a variable and set it when a player presses the button.

Is more of a synchronization question, the input actions are called before the tick update of that frame, which I think implies that inputs are buffered, the calling time of the action is not the time player presses the button.

Im not sure you can get the very exact time input was received, just because the nature of computers, there is always going to be a time gap between when input is received and the computer can respond. I think setting a variable as soon as input is received is about as close as you can get, so close in fact I do not think the time gap could even be humanly preceivable. And if that is not acurate enough, im courious to know why you would need greater accuracy.