Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date time field
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00310184
Message ID:
00310338
Views:
14
Thanks that did it.
I was focusing on the dtot(time()) and not getting it to take.

Thanks again.

__Stephen

>Stephen,
>
>How about
>
ttDateTime = datetime()
>? dtot(gomonth(ttDateTime, -1)) + (ttDateTime - dtot(ttod(ttDateTime)))
>
>Cheers,
>
>Andrew
>
>>I have a issue with date time fields having the wrong date (y2k check) and I have to change the date back and not wack the time.
>>
>>gomonth(,-1) will change the date portion just fine, but it will set the time to midnight 12:00:00 AM. Which sucks when the time clock is now screwed!
>>
>>any ideas?
>>
>>__Stephen
Previous
Reply
Map
View

Click here to load this message in the networking platform