Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need YYYYDDD to DATE() function. Anyone?
Message
From
25/01/2001 12:44:55
 
 
To
25/01/2001 12:38:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00468591
Message ID:
00468597
Views:
14
>I have a DATE() to YYYYDDD function already but I received a file full of YYYYDDD instead of dates and need to get dates.
>
>Does anyone havce a quick algorithm/function already? Before I waste time reinventing the wheel.
>
>TIA

**************************************************************************
FUNCTION YYYYMMDD
**************************************************************************
* Description....... Convert strings in format of yyyymmdd to date format
LPARAMETER tcStr
lDate = CTOD( SUBSTR(tcStr,5,2) + "/" + SUBSTR(tcStr,7,2) + "/" + SUBSTR(tcStr,1,4) )
RETURN lDate
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform