Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is Date String A Valid Date?
Message
 
À
06/07/2001 15:44:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00526801
Message ID:
00527672
Vues:
47
Hi Steve,

Worked fine for me - I'll have to have a play with some sysformat settings and get back to you.

Might not be for a week or so as we're going away for a bit of a holiday.

Cheers,

Andrew

>>Gary,
>>
>>To extend Jill's idea a little (so it doesn't rely on SET("DATE") etc), you could use
>>
>>lcDate = '{^2001-06-31}'
>>? empty(eval(lcDate))  && returns .T.
>>
>>Cheers,
>>
>>Andrew
>>
>
>Andrew,
>
>This method errors out on my system, giving me "Date/Datetime evaluated to an invalid date". It also errors out switching it to lcDate = '{^06-31-2001}'. Does it not generate an error on your system?


If we were to introduce Visual FoxBase+, would we be able to work from the dotNet Prompt?


From Top 22 Developer Responses to defects in Software
2. "It’s not a bug, it’s a feature."
1. "I thought I fixed that."


All my FoxTalk and other articles are available on my web site.


Unless specifically identified otherwise, anthing posted here is purely my opinion and may or may not reflect the policies or practices of Microsoft.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform