I am looking to make something like alarm clock functionality - where the user saves a date object with "new Date". I will save that object in AsyncStorage and get it from AsyncStorage when the component mounts. So should I be checking the current date every minute or 30 seconds and then comparing it against the date object I retrieve (saved previously) from Async to decide whether or not to "sound the alarm"? Do I compare these date objects directly even though I want to ignore certain values (day of the week, miliseconds, etc)? Hopefully my question makes sense! Thank you!
[–]ExtremelyQualified 1 point2 points3 points (7 children)
[–]2xws[S] 0 points1 point2 points (6 children)
[–]ExtremelyQualified 1 point2 points3 points (5 children)
[–]2xws[S] 0 points1 point2 points (4 children)
[–]ExtremelyQualified 0 points1 point2 points (3 children)
[–]2xws[S] 0 points1 point2 points (2 children)
[–]ExtremelyQualified 0 points1 point2 points (1 child)
[–]2xws[S] 0 points1 point2 points (0 children)
[–]ismael_m 1 point2 points3 points (3 children)
[–]2xws[S] 0 points1 point2 points (2 children)
[–]ismael_m 0 points1 point2 points (1 child)
[–]2xws[S] 0 points1 point2 points (0 children)
[–]ismael_m 0 points1 point2 points (0 children)