Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Date format
Message
De
22/11/2004 05:52:49
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
22/11/2004 05:11:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Divers
Thread ID:
00963422
Message ID:
00963430
Vues:
7
>Dear Experts
>
>There are two textboxes on form1.
>Data type of Text1 is date with british date type.
>
>The date in text1 is 22-11-2004
>
>I want to get this date, in text2, in following format
>
>November 22, 2004
>
>Please help

No built-in format/function supports it. You've to create your own function:

? myDateFormat(thisform.text1.value)
Function myDateFormat
lparameters tdDate
return Proper(Cmonth(m.tdDate))+' '+padl(day(m.tdDate),2,'0')+', '+padl(year(m.tdDate),4)
endfunc
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform