Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Silly question but it is Friday
Message
De
18/03/2014 08:58:10
 
 
À
17/03/2014 12:28:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01596530
Message ID:
01596763
Vues:
72
>>>>How do I clear a date field and a datetime field
>>>err ...
>>>
REPLACE dDateTime with {}
>>>
>>>My test was a PM date time. The "{}" cleared the date and time, but replaced "PM" with "AM"
>>
>>AM and PM don't make sense, anyway. Why is 0:00 PM but 12:00 is AM (or vice versa, I wrote it down once because I couldn't memorize it...). The whole thing is as logical as english grammar.
>>
>>The {} will give you 0:00:00... now how it displays is up to your silly calendar with 730 halfdays.
>If I'm not mistaken, AM is "ante meridian" (before midday) and PM is "post meridian" (after midday). Perhaps the confusion does come about partly because 24-hour notation is zero-based, whereas the 12-hour clock tries to avoid the zero and calls it 12. A 24-hour time of 00:00:00 would correspond to 12:00:00AM, while 12:00:00 would correspond to 12:00:00PM.


how can 12pm with is meridiam be past meridiem???

P
Peter Cortiel
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform