Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Could not find it in the Help
Message
From
22/04/2005 10:23:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01007154
Message ID:
01007454
Views:
13
>>
>>? CTOT(TimeToStr(DATETIME()))
>>? CTOT(TimeToStr(DATE()))
>>? CTOT(TimeToStr({}))
>>function TimeToStr
>>lparameter ttTime
>>local lcReturn
>>if empty(m.ttTime)
>>	lcReturn='{/ :}'
>>else
>>	lcReturn=(transform(ttoc(m.ttTime,1), "@R 9999/99/99T99:99:99"))
>>endif
>>return m.lcReturn
>>
>
>It doesn't work, I was wrong. My original code works, but this returns wrong values...

Where,when,what ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform