Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00115857
Message ID:
00115864
Views:
10
Hi Greg,

Create your time expressions and substract the two DateTimes to get the seconds. If tField is your datetime field then something like...
lnSeconds = tField - CTOT(DTOC(TTOD(tField)) + " " + YourTimeVariable)

>I need some help I have a field that is a Datetime field and I need to subtract just time from it the time that I'm subtracting is in a string what is the best way to attack this problem
>
>
>Thanks
>
>Greg
Previous
Reply
Map
View

Click here to load this message in the networking platform