DEV Community

Discussion on: React Native Local Notifications In Expo

Collapse
chakrihacker profile image
Subramanya Chakravarthy Author

you can do something like this

trigger: {
    seconds: calculateSecondsToSpecifiedDate(date)
}
Enter fullscreen mode Exit fullscreen mode

and calculateSecondsToSpecifiedDate will return seconds

Hope this helps you

Collapse
webuijorgegl profile image
Jorge Suarez

Yes... a few days ago I did this. Thank you.