Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Date to Character
Message
From
01/02/2005 11:19:41
 
 
To
01/02/2005 11:14:49
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982687
Message ID:
00982696
Views:
11
Update - I didn't notice Str1 needs to be month name

Str1 = CMONTH( date)
*Str1 = LEFT( dtl, 2)
Str2 = SUBSTR( dtl, 4, 2)
Str2 = IIF( left( str2, 1) = "0", Right( str2, 1), Str2)
str3 = RIGHT( dtl, 4)


>Dear Sir,
>
>I have a string as
>
>dt1=dtoc(date) && for example "01/02/2005"
>
>I want to show this into three parts as
>str1="Feb"
>str2="1"
>str3="2005"
>
>What should I do?
>
>Please help
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform