Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2024 07:07 AM
Which value is your variable 'days' returning? add gs.log('Days: ' + days);
parseInt will truncate to the nearest lower integer, after you make days from the milliseconds. This could cause mismatches. Maybe use 'Math.round()' so you get the nearest whole number.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark