Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
From 30/12/1899 but what about under?
Message
From
07/10/2006 16:55:50
 
 
To
06/10/2006 21:37:19
Neil Mc Donald
Cencom Systems P/L
The Sun, Australia
General information
Forum:
Microsoft SQL Server
Category:
Import/Export
Miscellaneous
Thread ID:
01159585
Message ID:
01160350
Views:
5
>Store the date as an integer and then convert it into the correct date format by reading the regional settings of the workstation. See this link for the algorithm examples. http://www.vsg.cape.com/~pbaum/date/jdimp.htm

I took a look at that page and it contains a lot of things about that. I am not that much familiar with those calendars. I would have to look more into to better understand the concepts related to that.

When I adjusted the data structure in VFP to be more ready for a potential migration to SQL Server, I changed all date fields to datetime. That has help when I simulated packages to import my data to SQL Server. But, I didn't realize I would face an additional dilemna. For one application I am supporting, this is not an issue as they are dealing with modern date values. But, on another, I moved up several centuries in time and this is where I have some adjustments to make. I guess the best would be to adjust the VFP data structure now in regards to that, on that particular table where I am going that far in time, and the code in regards to it. Then, by the time I migrate to SQL Server with the package, I would be ready to have everything migrated as is and the code would be ready to go as well.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform