Date and time without timezone

Hi,

I have a date field in Form. The selected date i need to pass it to integration service which is a datetime field. For my inputted date to pass i need to convert todatetime to pass into integration. The issue we are seeing is below conversion is appending the timezone to the datetimefield which is not needed.

ActualResult:

todatetime(ri!BGDate)

7/20/2023 12:00 AM GMT+00:00(Date and Time with Timezone)

ExpectedResult:

todatetime(ri!BGDate)

7/20/2023 12:00 AM (Date and Time)

Kindly suggest.

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to Sameer Ul Haq

    I am taking the risk to repeat myself. There is no date/datetime datatype in JSON!

    Any date/datetime is transformed into a string. That service then needs to be able to decode that specific format. The internet recommends to use the format defined in ISO 8601.

    You will have to discuss with the team developing that service, what format they expect. And you know how to achieve that in Appian.

Children