Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetDate()
Message
From
22/03/2018 18:11:52
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01658933
Message ID:
01658949
Views:
61
>>>>>Ok, I am lost. I thought there was a GetDate() function. But I would like would be a Date / Time dialog. Any ideas?
>>>>
>>>>Date() and DateTime()
>>>>
>>>>Tamar
>>>
>>>just went through this. DateTime() and seconds() both return a number, Steve
>>
>>Nope, datetime() returns a, well, datetime.
>
>all I know is the following work?
>? DATETIME() + 6

It will, but if you expect anything other than 6 seconds into the future, then you'd be wrong.

IOW, if you add a number to a date value, that's in days; to a datetime, it's in seconds. So express your value in seconds and you'll be fine.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform