Page 1 of 1

Date label day and date are one day behind current date and day.

Posted: Thu May 09, 2019 4:08 pm
by Oldestman57

I used a load page event to run the following java script.
Image

I recently added the set.utc, didn't help.
When I open the screen on the app it displays the day and date one day behind.

Image

These push alerts were sent on Thursday the ninth.
Any help would be appreciated.
Thanks,

Carl


Date label day and date are one day behind current date and day.

Posted: Fri May 10, 2019 10:12 am
by Serhii Kulibaba

Hello,

Please use the library "moment.js" to manage dates. It is light and pretty simple to use


Date label day and date are one day behind current date and day.

Posted: Sun May 12, 2019 1:34 pm
by Oldestman57

Thanks, will I need to download moments.js and include it in the resources library?


Date label day and date are one day behind current date and day.

Posted: Mon May 13, 2019 6:00 pm
by Serhii Kulibaba

Yes, please add it as a JS library (Create new-JavaScript)


Date label day and date are one day behind current date and day.

Posted: Mon May 13, 2019 7:15 pm
by Oldestman57

Thanks, i will give it a try