Nov 18 2022 04:01 AM
Hi.
I've run into a weird problem with one of my Sharepoint lists. When trying to edit any field in said list, I get the following error: Invalid date-time value.
The only "Date and time" columns in my list are the default Created and Modified columns. When I added these fields to the list view the dates are in the following format: 2022-10-27T09.09.14Z
I have added a new item to the list on 27.10.2022 and had no problems adding that, so this issue is pretty new. Other lists can be edited on the site just fine, and their Created/Modified Columns are displayed in a different format (Yesterday, May 9 etc..).
Any clues as to what could be causing this issue or how to fix it would be appreciated. I would've included pictures, but am unable to post them (probably because I've just signed up).
Thanks in advance,
aapok
Jan 13 2023 08:46 PM
Jan 31 2023 01:43 AM
Feb 20 2023 12:16 PM - edited Feb 20 2023 12:17 PM
Has anyone found a fix to this Sharepoint list issue? I have been having the same issues since November 2022 and it is now February 2023 and still having the same issues with date entries randomly showing error messages for Error: Invalid date-time value.
Mar 07 2023 11:12 PM
@CBranch in my case this seems to be related to the automatic "Created" date column, it somehow fritzes out like this: 2022-09-14T10.03.50Z.
It does not seem to be possible to edit this column.
Mar 07 2023 11:19 PM
May 12 2023 11:18 AM
May 26 2023 07:18 AM
Oct 25 2023 04:26 PM
Oct 25 2023 11:58 PM
Hi,
This problem seems to still occur. We did some local troubleshooting and at least found a workaround - "Return to classic Sharepoint"-button in the bottom left corner of the list will take you to classic experience, where editing seems to be possible without the date/time values interrupting.
Something that we found out:
- Automatic date column "Modified" is causing the problem. When you edit a list item, you automatically input the modified date/time value in wrong format. You can find the error by scrolling up, after you've failed to edit the list item
--> Tried to change date/time settings from user settings, as well as Site settings and List settings, none of that worked.
- This happens randomly, but mainly to the same users with same local settings. For us, the issue occurs with a list that is edited by users from various time zones and with various date/time settings.
- Sometimes closing browser/restarting PC has solved it, but not always
Feb 28 2024 03:33 PM
Mar 10 2024 10:36 AM - edited Mar 10 2024 10:37 AM
Have you checked the regional settings in SharePoint? Sometimes mismatches can cause such errors. Also, ensuring consistency in date formats across the site might help resolve this and you can find it here VAT Refund.
Mar 13 2024 03:42 AM
@aapok
Problem solved - I was able to save a problematic item after editing it in classic SharePoint mode. It then works in "modern" mode.
Thanks @DominiqueGire and @beeksii for a workaround!
Mar 13 2024 07:52 AM
@aapok Another work around is to clear all sharepoint and office cookies. I don't have the option to switch to classic mode, but clearing cookies always works for me whenever Lists starts acting weird.
May 20 2024 10:25 PM
@aapokwe have the same issue frequently appearing. Switching to classic mode works as a workaround but it's not really a solution as this shouldn't appear in the first place. I'm wondering if anybody has found the root cause for this? And is there a way to avoid this issue altogether?
To me this seems to relate to the fact that people might have different regional settings and in our case it started to affect us once we changed the site number format to Finnish style. It appears to me that somehow sharepoint's modern version is unable to interpret the date formats automatically.
May 21 2024 02:58 AM
May 21 2024 03:59 AM
@aapokThanks. It's a bit disappointing, as this seems to be a clear bug on the Sharepoint side... hopefully someone at Microsoft end picks this up at some point.
May 21 2024 08:47 AM
@aapok Clearing cookies works for me as well. To make it easier, I configured Edge to clear all SharePoint, Powerxxx, Office365 and msftauth related cookies on exit: Settings->Cookies and Site Permissions->Manage and Delete cookies...->Clear on Exit. This automatically resets the environment every time I quit working for the day. You will have to sort through your list of saved cookies to find the relevant URL's. The setting also supports a wildcard [*.] (braces included) at the beginning of the URL to clear everything from that domain. Example: [*.]powerautomate.com.
Sep 13 2024 01:37 AM
The "Invalid date-time value" error in your SharePoint list might be due to regional settings or a mismatch in date formats. First, check your site's regional settings to ensure they align with the date format being used. It could also be caused by corrupted list items or formatting issues in custom columns. If the error persists, consider clearing your browser cache or using a different browser. If nothing works, contact your SharePoint admin to look into potential backend issues. You can visit this website to check tiktok bio stylish text copy.
Sep 13 2024 02:09 AM
@patriciahornethe settings at server side should be okay, they've been checked numerous times. Instead it looks like that the problem stems from a bug in the sharepoint side that messes up the date / time formats in case there are users with computers with differing regional settings working on a same list. There are a few workarounds. Most obvious is making a change using a clean private window browser session. Cleaning up cookies / cache is more complicated + results loss of ton of settings. I wish the server end would get fixed by Microsoft some day... but perhaps it's somewhat complicated and not a high priority item for them.