Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Type a string date
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2008
Divers
Thread ID:
01496168
Message ID:
01496182
Vues:
58
You need to use ttoc for the datetime value.
Do you now want to find out the type of the string variable depending on
'20110114'

vs.

'20110114092723'
?

>sorry for my poor english....
>
>first sample
>
>a = dtoc( datetime() , 1 ) 
>
>?  something() return 'T'  && i want 'T'
>
>
>second sample
>
>a = dtoc( date() , 1 ) 
>
>?  something() return 'D'  && i want 'D'
>
>
>
>>Bernhart,
>>
>>maybe I have a bad day, but I don't understand what you want.
>>
>>>hi all,
>>>
>>>a = dtoc( datetime() , 1 ) OR a = dtoc( date() , 1 )
>>>
>>>I want a formule that give "T" or "D" when i type A
>>>
>>>how can i have this ?
>>>
>>>
>>>thank in advance
>>>
>>>bernhart
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform