Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Odd Date behavior with CSV file
Message
De
20/07/2002 22:27:42
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Odd Date behavior with CSV file
Divers
Thread ID:
00680833
Message ID:
00680833
Vues:
48
If I create a cursor and put in two dates then copy those to a CSV file, shouldn't they come back as the same date when appending? Check out this code and tell me why it is behaving the way it is.
CREATE CURSOR x (date d)
FOR i = 1 TO 2 
    INSERT INTO x VALUES (DATE())
ENDFOR
COPY TO test.csv TYPE csv
*Output to test.csv looks like
*date
*07/20/2002
*07/20/2002
APPEND FROM test.csv TYPE csv
MODIFY FILE test.csv nowait
GO TOP
BROWSE NOWAIT
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform