Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date to Character
Message
De
01/02/2005 11:19:41
 
 
À
01/02/2005 11:14:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00982687
Message ID:
00982696
Vues:
10
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform