Getting date and time when notification arrived in (Firebase and IONIC)

Hello all:

I am using IONIC and Firebase FCM plugin for get notifications and works perfect but i haven’t found the way of get the date and time when the notification arrived to my smartphone. I have searched in google, stackoverflow, etc and i haven’t found the solution. I need do this in background for save the datetime to mysql database. This work good in foreground.

Could you send the timestamp as one of the properties in the push notification value and extract it from there?

That would be badly done as it would not be the actual arrival time…