Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hour(datetime()) Error !!!
Message
From
23/05/1999 09:59:40
 
 
To
23/05/1999 09:15:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00221882
Message ID:
00221885
Views:
13
>Why VFP return the wrong hour when i use hour(datetime()) ?
>As i know , if i use hour(datetime()) to get the system time, the time format will in 24 hour !!!
>But that is an error when the system time is 12PM !!!

12PM is noon, 12AM is midnight.

>It return 12 to me when i try to get the hour , actually the return value must be 24 !!!
>I don't know whne wrong with that ????
>Can anyone help me ?? Tell me what happen ???
>I need it to display the time in my project !!!!
>HELP !!!
>
>regard,
>chang
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
Previous
Reply
Map
View

Click here to load this message in the networking platform