GlideDateTime changing the days with months
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2023 12:45 PM
the freezingEnd value is comming with months and days switched, this is happaning just for the freezingEnd days, that i get from the cmn_schedule_maintenance table, i discovered that, when i print the hour of the day from the GlideDateTime, the time zone from the end and start dates are diferent.
this are my register on the cmn_schedule_plan table, so when i print an error message using
i get those times
my date are those...
the freezingEnd stays that way
while all the other dates change the months and days positions, so when i need to compare the dates, i get wrong results.
what is happening?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-21-2023 01:41 PM
Hi, unfortunately a partial screenshot of your code does not help the community understand the plugin\application\tables\fields involved, or your configuration; and does not make it possible for anyone to reproduce your issue in a PDI to validate.
Did you mean the Schedule entries table 'cmn_schedule_span'?
Perhaps you could update your post with clear and specific details of your config, context of your issue and your full code as plaintext