Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I only want the time portion of datetime
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00337170
Message ID:
00337203
Views:
17
Doh!

You mean you didn't want just hours and seconds?


>Thanks for the right track. I got locked in on all the TTOC, DTOC, etc. I always forget about Transform(). The following works:
>
>trans(hour(mytime))+':'+trans(minute(mytime))
>
>>Hi Mark,
>>
>>Does trans(hour(mytime))+':'+trans(sec(mytime)) work for you?
>>
>>>>>I am trying to do time math and VFP tacks on an implicit 12/30/1899 date to the beginning of all my times.
>>>>
>>>>What are you doing that doesn't require a date?
>>>
>>>Start Time, Current Time, Estimated Completion Time display to a user importing data. It is not an all day deal [maybe 90 minutes max] so the date is superfluous.
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Reply
Map
View

Click here to load this message in the networking platform