Export value of date time datatype field
sri.tech23
Member Posts: 41
I am trying to export the data from a table Requisition Line which has fields : "Starting Date-Time" and "Ending Date-Time". When i use a dataport to export their values, the txt/csv file contains very vague values...like 63,406,627.20 which for a datetime field. how do i go about importing this value into another db. Please help...also in one table the datatype was decimal but in the newer version it is DateTime. Please let me know how to resolve this problem.
Thanks
sri
Thanks
sri
0
Comments
-
If you want your output formatted differently, use the FORMAT function. Tons of posts and the help from the client is pretty good.
If you need to change the type of the variable between export and import you should be using a global variable as your data item. Personally I prefer text variables. Then you can use EVALUATE on the import side and convert it to whatever you want.0 -
Yes, in older versions, there were no DateTime datatype, and it was done through decimal numbers and formating function in Codeunit 1. Just look at it how to transform the decimal to datetime...0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

