If you’ve changed the deadline time to 2am, then yes, that’s when you have to enter data by! Out of curiosity, was there some other way you were expecting that to work? It might be useful to understand what your hesitation was there/how else you thought it might work.
Note that your goal will still think it’s the previous day until after your deadline, so you need to be careful that you submit data with the date the goal is expecting. The default is to do it correctly, so mostly you don’t have to think about that, but you might notice the date is “wrong”.