Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Store Seconds in the log file?
Message
 
 
À
07/01/2023 15:58:15
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01685718
Message ID:
01685724
Vues:
25
>>When a run a small test in command window and SET DATE TO AMERICAN or SET DATE TO ANSI, the result is the same. The way I test is:
>>? datetime()
>>In which case SET DATE TO AMERICAN would be different than SET DATE TO ANSI?
>
>Something wrong there. My test:
>under american
>01-07-2023 21:57:46
>under ANSI
>2023-01-07 21:58:04

I get similar results to your (except you see a dash and I see a slash)
SET DATE TO AMERICAN
? DATETIME() && shows "01/07/23 04:00:07 PM"
SET DATE TO ANSI
? DATETIME() && Shows "23.01.07 04:00:07 PM"
I prefer the date in my log to be shown as AMERICAN above (month/Date/Year...)
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform