Date and time last power import

Good morning, i am newbie.
I have solar panels + batterie system.
I measuring the current power import of the grid
Now I want to know date and time of the latest power of the grid. (Current power import above 100 watt) Can somebody help me with this?