Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime values
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00641239
Message ID:
00641241
Views:
14
>My goal here is to get the number of hours that have elapsed between two datetime variables. One variable is set to the current datetime(), the other datetime variable is pieced together from the date and time a file was last modified. If I just subtract the two datetimes it gives me a very odd number. Thanks in advance.
>
>Justin

Substracting one datetime value from another gives the number of seconds between them. You've to divide it by 3600 to convert it into hours.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform