Excel's dates are out of sync with my system, why?

gravanoc

Active Member
Joined
Oct 20, 2015
Messages
348
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
I have a bunch of code dependent on the user's chosen date. So it's frustrating that I'm getting two different values as to what the supposed weekday falling on April 8th, 2023 is (arbitrary date). In the picture below on the left is what Excel thinks the day will be, and on the right is my system clock's answer. Why are they out of sync? I looked at this for a while to make sure I wasn't seeing things, but maybe I'm missing something obvious. I took a second screenshot of the Excel date formatted as a weekday. However, in a different workbook it shows the real day is Saturday, so something in this workbook is acting up.

1651059481778.png


1651059669436.png


1651059690706.png
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
is that not August?
Yep you're right, I did overlook something. Thanks, I just realized it myself and came here to try to delete it. I'm using a DatePicker userform I found somewhere & for some reason it is outputting August dates to the sheet instead of April.
 
Upvote 0

Forum statistics

Threads
1,215,375
Messages
6,124,583
Members
449,174
Latest member
chandan4057

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top