Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
All I need is a simple date (bg)
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00516464
Message ID:
00517745
Views:
16
>>Hi Arne,
>>
>>One correction...
DatePortion = DTOC(DateTimeFieldName_InCursor)
>>I believe you meant TTOC Because SQL returns a DateTime, right?
>>I use TTOD() to convert where required.
>>HTH,
>
>Bill,
>
>actually, I did mean DTOC because Doug only wanted the date portion returned. DTOC(DATETIME()) will return just the date portion as CHAR. TTOC will return the whole DATETIME as CHAR.
>
Hi Arne,
Well, you learn something new every day! I guess I didn't read the help close enough as it says you can pass in a date or datetime. (One more into the bag of tricks!)
Bill Armbrecht
VFP MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform