sskoparde
25th November 2016, 08:28
Presently we are in ERP Ln FP 2
Following script is not giving the result.
Eg:

long dat1

dat1 = inputstr.to.date( "06171991", "%D002,3" )

dat1 is returning 0 instead of actual value. What is issue ? Pl. help me.

My task is to upload txt data into baan table for date
Eg: 26-11-2016 into baan table filed of rctdate of domain tidate

Pl. revert ASAP

manish_patel
25th November 2016, 11:43
Check the Date Format 002.

Relevant session in Baan 4,
Maintain Language(ttaad1110m000)
Maintain Format (ttadv4180m000)


I think For LN you should use inputstr.to.utc().

sskoparde
28th November 2016, 06:14
Thank you..
Problem resolved