Integrations and APIs for Service

Get Involved. Join the Conversation.


    Custom Date/Time Field
    Topic posted February 24, 2010 by Joses Red Ribbon: 250+ Points, last edited October 29, 2011 
    2410 Views, 17 Comments
    Custom Date/Time Field

    We are having an issue in updating a custom Date/Time field from an add-in. We are able to update a string and int custom field with no issue. We have tried different formats of the date and nothing seems to work. What format does it have to be in? Can we pass in for example just "02/23/2010"

    Code Snippet:


    • davemccall

      This might be a little late to the game, but you might try setting the

      ValDttm = DateTime.Now.ToUniversalTime();

      It seems that all dates set on workspaces need to use the ToUniversalTime method to be set properly.

    • Stuart  Concannon

      We have had fun with dates in the past as well. Basically all dates stored in the RightNow database are UTC dates, so you have to make sure the date or datetime you are passing in are in the UTC format. Also ensure that you use the correct ValDttm for DateTime or ValDate for Date fields.