The Arcade expressions do not display the features correctly when using the DateDiff() function to calculate the time interval for feature visibility in ArcGIS Online Map Viewer.
This issue is not reproducible in ArcGIS Online Map Viewer. If the issue occurs, please contact Esri Support Services as additional information is required for further investigation.