Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set Century off
Message
 
 
À
22/03/2009 14:20:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
01390409
Message ID:
01390425
Vues:
65
Try
SET DATE TO AMERICAN
>So how do I get "1/1/09" or "01/01/09" to display?
>
>>SET CENTURY OFF affects only display of century part. The ROLLOVER clause controls how 2 digit century is converted.
>>@ 1,50 say w_dt is displayed as '01/01/09' on my PC when SET CENTURY OFF
>>
>>
>>>
>>>What am I doing wrong?
>>>
>>>In the following code:
>>>
>>>
>>>CLEAR
>>>
>>>SET CENTURY off
>>>
>>>w_dt = {1/1/09}
>>>
>>>@ 1,2 say SET('cent')
>>>@ 1,50 say w_dt
>>>
>>>
>>>The following displays on line 1:
>>>
>>>
>>>  OFF                                            1/1/2009
>>>
>>>
>>>Shouldn't is say 1/1/09?
>>>
>>>Thanks,
>>>
>>>Yossi
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform