Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT And a Calculated Field
Message
 
 
To
26/09/2008 16:24:43
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01351079
Message ID:
01351108
Views:
18
>This is a date used in a MAPICS app on our iSeries. This is part of the Y2K fix.
>
>The 1 means 21 century or something like that.
>07 Year
>07 Month
>01 Day

Try CAST('20' + SUBSTRING(DateFiled,2,6) as Datetime) as ActualDate or the same with CONVERT function.

If it works, then just use DATEADD function.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform