cancel
Showing results for 
Search instead for 
Did you mean: 

DateTrans error

Former Member
0 Kudos

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!

Accepted Solutions (1)

Accepted Solutions (1)

former_member200962
Active Contributor
0 Kudos
"Unparseable date: " 01102009"

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

Regards,

Abhishek.

Former Member
0 Kudos

Thanks so much abhishek salvi !

Actually had a right zero.

Answers (1)

Answers (1)

Former Member
0 Kudos

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