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

Date format

Hi,

I want to add an order via diapi, and the problem is when introducing the docduedate. The date format of my SBO is DD/MM/YYYY, so I've tried entering 30/09/2005 and it doesn't work.

Does anyone know which format do I have to use?

Thanks in advance,

vane

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Sep 26, 2005 at 11:23 AM

    Hi Vanessa,

    You should use code like below.

    doc.docduedate = new date(year, month,day)

    Good luck

    Ad

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 29, 2005 at 02:50 AM

    Hi Vanesa,

    1. You can try to add "DateTimePicker" into your window form. And use the value for the DocDueDate.

    2. Or you can do query to get the date value and add it to the DocDueDate.

    Hope this helps,

    Bruce.

    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.