The deliver_at, we are doing it when it enters to didReceiveRemote, willPresent (for foreground notifications) and we calculate this way
let dateFormatter = ISO8601DateFormatter()
dateFormatter.formatOptions = [.withInternetDateTime]
dateFormatter.timeZone = TimeZone.current
let dateDidReceive = dateFormatter.string(from: Date())
Topic:
App & System Services
SubTopic:
Notifications
Tags: