We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

gs.beginningOfToday() gives different values on different dates?!

Simon Ciglia1
Tera Contributor

Dear SNC,

We ran gs.beginningOfToday() on the 25.10.2020 and got the following result:

2020-10-24 22:00:00

If I ran it today (27.10.2020), I will get the following result

2020-10-26 23:00:00

 

I need to get constant results, not a time difference of 1 hour, is there a method to accomplish this?

Thank you in advance,
Simon

1 ACCEPTED SOLUTION

So how about your original question. Please follow-up on that first.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

View solution in original post

5 REPLIES 5

So how about your original question. Please follow-up on that first.

If my answer helped you in any way, please then mark it as helpful.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn