Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 25th November 2016, 07:28
sskoparde sskoparde is offline
Junior Member
 
Join Date: Jun 2010
Posts: 17
sskoparde is on a distinguished road
Baan: BaaN C4 IV - In5 - DB: Oracle 10g - OS: Windows - 2003
String to date

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
Reply With Quote
  #2  
Old 25th November 2016, 10:43
manish_patel's Avatar
manish_patel manish_patel is offline
Senior Member
 
Join Date: Apr 2007
Location: Surat-->Bangalore, INDIA
Posts: 183
manish_patel is on a distinguished road
Baan: Baan IVc4, Baan 5.0 b - DB: Oracle 11g R2 - OS: HP-UX 11.31
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().
__________________
Thanks & Regards,
Manish
Reply With Quote
Sponsored Links
  #3  
Old 28th November 2016, 05:14
sskoparde sskoparde is offline
Junior Member
 
Join Date: Jun 2010
Posts: 17
sskoparde is on a distinguished road
Baan: BaaN C4 IV - In5 - DB: Oracle 10g - OS: Windows - 2003
Thank you..
Problem resolved
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
DEV: Export any Baan table to (proper) Excel Francesco Code & Utilities 27 2nd September 2011 14:00
Writing Export Conditions ian_j_albert Tools Development 4 22nd July 2010 07:30
Help regarding tools session rahul.kolhe22 Tools Development 4 22nd January 2010 13:31
problems with stpapi.zoom.option Finnigan AFS/DDC/OLE: Function servers 5 3rd November 2009 14:04
File Browser Bogdan Tools Development 52 7th January 2004 08:17


All times are GMT +2. The time now is 14:54.


©2001-2017 - Baanboard.com - Baanforums.com