Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I change month, year into date
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01411881
Message ID:
01411886
Vues:
74
This message has been marked as the solution to the initial question of the thread.
lcMonthList = "JAN FEB MAR APR MAY JUN JUL AUG SEP OCT NOW DEC"
lcMonth = "JAN"
lnYear = 2009
? DATE(lnYear, INT(AT(lcMonth, lcMonthList) / 4) + 1,1)
>I have two filed smonth and year
>
>month name is given first three characters. Jan,feb
>
>and year is 2008,2009,
>Now i want this in one filed like date.
>
>D M Y: 01-01-2008, 01,02,2009
>How it will be done.
>thanks
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform