none
Unable to update Date CustomField with DateTime.Now from Azure API App RRS feed

  • Question

  • I am trying to update Project Level Date CustomField with DateTime.Now value but its not updating.

    In particular, if the day value is greater than 12 then it fails. Seems like some date format issue. 

     localCustomFields.Completion_Date = DateTime.Now;
    
    
    
    

    After this block I am using 

     projCheckedOut.SetCustomFieldValue(custValue.Key, custValue.Value);

    this method to set the value. Here the custValue.Key is my internal name the date custom Field. and the custValue.Value is my DateTime.Now in toString() 

    Wednesday, December 6, 2017 10:30 AM