This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

LastModified date time is not correct

Hi,

I was testing how to create new documents using the COM API and some how the documents LastModified datetime is generated wrongly.

Here is the newly created documents properties were the  CreatedUtc is correctly set as today but somehow the LastModified property is showing that the document has been modified 3 days ago

[sup]
{
    "Title": "Myyntilasku - Test Company - 80808008 - 26.3.2019",
    "EscapedTitleWithID": "Myyntilasku - Test Company - 80808008 - 26.3.2019 (ID 149).bmp",
    "DisplayID": "149",
    "ObjVer": {
        "Version": 1,
        "VersionType": 4,
        "ID": 149,
        "Type": 0
    },
    "Class": 14,
    "CheckedOutAtUtc": "1601-01-01T00:00:00Z",
    "CheckedOutAt": "1601-01-01T00:00:00Z",
    "LastModifiedUtc": "2019-03-20T13:23:37Z",
    "LastModified": "2019-03-20T13:23:37Z",
    "ObjectCheckedOut": false,
    "ObjectCheckedOutToThisUser": false,
    "CheckedOutTo": 0,
    "SingleFile": true,
    "ThisVersionLatestToThisUser": true,
    "CreatedUtc": "2019-03-26T11:16:24Z",
    "Created": "2019-03-26T11:16:24Z",
    "Files": [
        {
            "Name": "Myyntilasku - Test Company - 80808008 - 26.3.2019",
            "EscapedName": "Myyntilasku - Test Company - 80808008 - 26.3.2019.bmp",
            "Extension": "bmp",
            "Size": 0,
            "LastModified": "2019-03-20T13:23:37Z",
            "ChangeTimeUtc": "2019-03-20T13:23:37Z",
            "ChangeTime": "2019-03-20T13:23:37Z",
            "CreatedUtc": "2019-03-20T13:23:37Z",
            "CreatedDisplayValue": "20.3.2019 13:23",
            "LastModifiedDisplayValue": "20.3.2019 13:23",
            "FileGUID": "{E2491557-BDA1-457E-B8B9-01E47D5D1E70}",
            "ID": 133,
            "Version": 1,
            "FileVersionType": 3
        }
    ],
[/sup]


Thanks
Parents Reply Children
No Data