# Daylight Saving Time

**URL:** <https://www.epiusers.help/t/daylight-saving-time/76575>\
**Category:** Epicor ERP 10\
**Tags:** day-light-saving\
**Created:** [March 14, 2021, 5:39pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575 "2021-03-14T17:39:09Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [March 14, 2021, 5:39pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/1 "2021-03-14T17:39:09Z")

</div>

Don’t forget to go into the Sys Agent, and update the Next Run time on your schedules.

![image](https://www.epiusers.help/uploads/default/original/3X/c/3/c3fb58f3b22f7c008db05adcc08a5ecb485ac88a.png)

---

<div class="post-metadata">

**Author:** ![Doug.C](https://www.epiusers.help/user_avatar/www.epiusers.help/doug.c/32/26714_2.png) [@Doug.C](https://www.epiusers.help/u/Doug.C)\
**Post date:** [March 14, 2021, 6:07pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/2 "2021-03-14T18:07:31Z")

</div>

Why do we even have DST anymore. Besides the fact that it would literally take an act of congress to get rid of (in the US anyway). 🙄

This is made more difficult because the US DST differs from Europe’s. So changing it for one messes things up for the other…

---

<div class="post-metadata">

**Author:** ![bordway](https://www.epiusers.help/user_avatar/www.epiusers.help/bordway/32/30753_2.png) [@bordway](https://www.epiusers.help/u/bordway)\
**Post date:** [March 14, 2021, 7:08pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/3 "2021-03-14T19:08:45Z")

</div>

And if you used to watch VEEP, you know how Jonah Ryan felt about DST

[![](https://img.youtube.com/vi/fyWr7XRiyVM/maxresdefault.jpg "Congressman Jonah Ryan discusses Daylight Saving on the House Floor") ](https://www.youtube.com/watch?v=fyWr7XRiyVM)

---

<div class="post-metadata">

**Author:** ![Beth](https://www.epiusers.help/user_avatar/www.epiusers.help/beth/32/22350_2.png) [@Beth](https://www.epiusers.help/u/Beth)\
**Post date:** [March 15, 2021, 7:23pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/4 "2021-03-15T19:23:17Z")

</div>

@ckrusen Thanks for the reminder!

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [March 15, 2021, 7:53pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/5 "2021-03-15T19:53:05Z")

</div>

> [@Doug.C](#):
>
> Why do we even have DST anymore.

At the very least, why doesn’t Epicor have a checkbox that addresses that like my $10 clock? 😑

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [March 15, 2021, 7:58pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/6 "2021-03-15T19:58:42Z")

</div>

I did create a BPM that automatically addresses it. But was never confident enough, that I enabled it. Worked in the very limited testing I did. But having to update a half dozen schedules, twice a year was easy enough.

> [@Daylight Saving Time Aware Schedule BPM](https://www.epiusers.help/t/daylight-saving-time-aware-schedule-bpm/53573):
>
> I think the following In-Tran Data Directive would adjust running schedules to compensate for DST. It works by looking at the SysAgentSched.LastRunOn and SysAgentSched.NextRunOn when the NextRunOn changes. If LastRunOn is not during DST and the NextRunOn is during DST (going from STD to DST), then subtract 1 hour from the NextRunOn. If going from DST to STD, add 1 hour. here’s how Uses variables lastRun(DateTime), nextRun(DateTime), and dst\_diff(Int). lastRun and nextRun were set via Set …

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [March 15, 2021, 8:00pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/7 "2021-03-15T20:00:22Z")

</div>

Seems like it would be trivial for Epicor’s System Agent to just look at the time on the server?

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [March 15, 2021, 8:02pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/8 "2021-03-15T20:02:44Z")

</div>

What if the server is in a different time zone than the company? And one of them doesn’t do DLS?

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [March 15, 2021, 8:04pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/9 "2021-03-15T20:04:04Z")

</div>

Get out of here with your multi-time zone mumbo jumbo logic.

I don’t care for it. 😛

---

<div class="post-metadata">

**Author:** ![Ernie](https://www.epiusers.help/user_avatar/www.epiusers.help/ernie/32/69401_2.png) [@Ernie](https://www.epiusers.help/u/Ernie)\
**Post date:** [March 15, 2021, 8:11pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/10 "2021-03-15T20:11:13Z")

</div>

Geez you support guys… always looking for problems beforehand. Where’s your sense of adventure?

---

<div class="post-metadata">

**Author:** ![Graemer](https://www.epiusers.help/user_avatar/www.epiusers.help/graemer/32/4900_2.png) [@Graemer](https://www.epiusers.help/u/Graemer)\
**Post date:** [March 16, 2021, 9:12pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/11 "2021-03-16T21:12:14Z")

</div>

I have the added fun that I am in a province that does not change. I have to remember what schedules are used for us vs. the locations outside our province. Sigh.

So, if you stand still and the rest of world moves then I am effectively moving. Each year I move from Central time to Mountain and back again.

---

<div class="post-metadata">

**Author:** ![AndrewM](https://www.epiusers.help/letter_avatar_proxy/v4/letter/a/c57346/32.png) [@AndrewM](https://www.epiusers.help/u/AndrewM)\
**Post date:** [March 17, 2021, 12:45am UTC](https://www.epiusers.help/t/daylight-saving-time/76575/12 "2021-03-17T00:45:46Z")

</div>

What’s your suggested alternative? Fixed 24 hour per day with no shift, or micro adjustments per day …subtract or add to the end of every day so sunrise is the same time every day?

---

<div class="post-metadata">

**Author:** ![Hogardy](https://www.epiusers.help/user_avatar/www.epiusers.help/hogardy/32/18785_2.png) [@Hogardy](https://www.epiusers.help/u/Hogardy)\
**Post date:** [March 17, 2021, 11:57am UTC](https://www.epiusers.help/t/daylight-saving-time/76575/13 "2021-03-17T11:57:30Z")

</div>

In Canada… a survey showed that over 70% of the population is in favor… and 63% in US… And politician are putting it in their agenda… In Ontario they just passed a legislation in favor [article](https://www.cp24.com/mobile/news/ontario-passes-legislation-to-make-daylight-time-permanent-1.5205125?cache=?clipId=1745623) So it is getting there ! All it is needed is that it happens everywhere …in North America!

So maybe within the next 10 years it will be done!!! 🙄 🙄 😉

Pierre

---

<div class="post-metadata">

**Author:** ![ckrusen](https://www.epiusers.help/user_avatar/www.epiusers.help/ckrusen/32/50584_2.png) [@ckrusen](https://www.epiusers.help/u/ckrusen)\
**Post date:** [March 17, 2021, 1:24pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/14 "2021-03-17T13:24:37Z")

</div>

Might as well do away with times zones while we’re at it, and have everyone use UTC.

I wouldn’t mind starting work at noon UTC everyday. 😉

---

<div class="post-metadata">

**Author:** ![FTI-SeniorAdmin](https://www.epiusers.help/user_avatar/www.epiusers.help/fti-senioradmin/32/94053_2.png) [@FTI-SeniorAdmin](https://www.epiusers.help/u/FTI-SeniorAdmin)\
**Post date:** [March 17, 2021, 2:18pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/15 "2021-03-17T14:18:17Z")

</div>

I wish there was this reminder for my Door entry system… As someone else said, why can’t something like this have fields to specify an auto adjustment to the clocks! I had a ton of employees who couldn’t get in the building on Monday at their normal time since the doors thought it was an hour earlier. Ugh… Add that to my list of things to do twice a year.

---

<div class="post-metadata">

**Author:** ![hmwillett](https://www.epiusers.help/user_avatar/www.epiusers.help/hmwillett/32/93207_2.png) [@hmwillett](https://www.epiusers.help/u/hmwillett)\
**Post date:** [March 17, 2021, 2:42pm UTC](https://www.epiusers.help/t/daylight-saving-time/76575/16 "2021-03-17T14:42:07Z")

</div>

Whelp, because I like to be future-lazy, I made a BPM that makes it so I can just check the box and have it change all of my schedules.

For anyone that wants it (test in a non-production environment, code-as is, blah, blah, blah):  
It will require you to add a field to SysAgent called DST\_c (boolean).  
[DST.031621.bpm](https://www.epiusers.help/uploads/short-url/oFuiBOwsmcdUDDvt5HWgkjqhDHI.bpm) (34.5 KB)

 ![image](https://www.epiusers.help/uploads/default/original/3X/c/f/cf64cd35ecd6a8494d3808a0ddc09a45e8099661.png)

 ![DST](https://www.epiusers.help/uploads/default/original/3X/1/a/1a86e2a750a158ca80ebfc75d2e11315eb7ec0d4.gif)
