Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Could not find it in the Help
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Could not find it in the Help
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01007154
Message ID:
01007154
Views:
74
Hi everybody,

I'm trying to find a correct format for strict datetime values, but I could not find it. Would you please check, if the following code creates this correctly?
********************************************************************
*  Description.......: TimeToStr - creates a date string from date
*  Calling Samples...:
*  Parameter List....: ttTime
*  Created by........: Nadya Nosonovsky 07/13/2001 02:52:32 PM
*  Modified by.......:
********************************************************************
function TimeToStr
lparameter ttTime
local lcReturn
if empty(m.ttTime)
	lcReturn='{}'
else
	lcReturn="{^" + (transform(ttoc(m.ttTime,1), "@R 9999/99/99 99:99:99")) + "}"
endif
return m.lcReturn
If it's not broken, fix it until it is.


My Blog
Next
Reply
Map
View

Click here to load this message in the networking platform