Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To get Day of any Date
Message
De
02/04/2004 06:51:56
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
02/04/2004 06:04:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00891704
Message ID:
00891710
Vues:
20
>Dear Experts
>
>On a form there is a date type textbox1.A user writes some date in this textbox. What will be the source codes to get the day against that date, in characters, in text2.box.
>
>For example
>
>set date to british
>Thisform.text1.value={02/04/2004}
>thisform.text2.value='Friday'
>
>Please help

Tariq,
Do not use dates like that, use strict date format.
Thisform.text1.value={^2004/04/02}
Put :

thisform.text2.value=CDOW(This.value)

In text1's valid.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform