Skip to Content
author's profile photo Former Member
Former Member

String Passing Reverse to Odata

hi experts,

in my odata i have date format as YYYYMMDD

if i pass value in my input as YYYYMMDD (ex : 20160823)

its taking, but i need to pass such as 23082016 or 23-08-2016

but its getting error

is their any solution to post the value reverse such as if i type 23082016 it will take 20160823

thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 19, 2016 at 05:55 PM

    Hi,

    In the gateway you need to pass the date in the format like "yyyy-MM-ddT00:00:00".

    you need to convert the date in this format i hope soo...

    Thanks,

    Deepak Raj.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 19, 2016 at 05:57 PM

    Please check this blog:

    Working with OData Dates and Times

    Thanks,

    Deepak Raj.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.