When to log?

♡T♡
Random question. If an activity is done after midnight but you haven't gone to bed yet which day should you log it on? For example- logging sex during fertile window.