Skip to Content
avatar image
Former Member

DateTrans error

HI expert!

I have the next issue with "DateTrans" function on PI 7.1 with java version 1.5.0_14:

* * * format input: ddMMyyyy

* * * format output: yyyy-MM-dd

but i get that using calendar lenient

* * * input date: 01102009

* * *output date: 2009-10-31

* * * input date: 20102009

* * * output date: 2009-01-02

and no using calendar lenient i get:

* * * "Unparseable date: " 01102009"

Thanks in advance for your answare!

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 25, 2010 at 05:07 AM
    "Unparseable date: " 01102009"

    There is a space before the date...remove it and it will pass fine.

    Regards,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 25, 2010 at 04:41 AM

    Hi

    • * * input date: 01102009*

    • * output date: 2009-10-31

    • * * input date: 20102009*

    • * * output date: 2009-01-02*

    Is this the output u got based on the design u have did???

    I chkd 1ce for clarity.... but this is not the output....

    The output is coming properly..

    Please check 1ce again.... and if still the prblm, pl do post.

    Babu

    Add comment
    10|10000 characters needed characters exceeded