Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT And a Calculated Field
Message
 
 
À
26/09/2008 16:24:43
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Divers
Thread ID:
01351079
Message ID:
01351108
Vues:
16
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform