Skip to Content

String to Date Time conversion

Hi All,

I have requirement like String to Date Time conversion.

Actually from idoc Date is coming as string format but target excepting Date Time format for that i have to write the UDF .

Plz help me for the udf.

Thanks

Kavitha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Jul 20, 2016 at 09:06 AM

    Hi All,

    client excepted format:, 2002-10-10T12:00:00-05:00 .

    previously i sent with out Milliseconds now i added that one .

    now i can able to push the data to web service without any errors

    Thanks

    Kavitha

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 04:47 AM

    Hi Kavitha,

    what is source data format in string and what is the format required in the target (date and time format)?

    regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2016 at 08:04 AM

    Hi Kavi tha,

    If your source system itself is not sending you the time then basically there is no utilization of putting hhmmss in your target system as it always will be 000000.

    If your requirement is just to match up your data with your target data structure then you can use standard date transformation function else in your case you can simply concatenate 000000 with your source data and send it to target system.

    Thanks,

    Apu

    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.