Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time fields in VFP
Message
De
03/06/1999 18:11:35
 
 
À
03/06/1999 18:05:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00226055
Message ID:
00226293
Vues:
20
>Jim,
>
>I need to, for example, store the time interval ( 2:30 PM - 5:00 PM) that this particular customer is available. I need to be able to check for conflicts using that data. So I can't store it as a string.
>

In order to check if there's an opening, you need the date, too, so why not store two datetime fields for start and end times? It's jsut as cheap on storage as a Date and two integers (two datetimes are 8 + 8 bytes, while a date + two integers use 8 + 4 + 4 bytes)

>Gnana
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform