Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
To get Day of any Date
Message
From
02/04/2004 06:51:56
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
02/04/2004 06:04:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00891704
Message ID:
00891710
Views:
18
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform