Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trasnform textfield value to date
Message
From
05/09/2007 17:59:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
05/09/2007 17:43:39
Luis Santos
Biglevel-Soluções Informáticas, Lda
Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01252609
Message ID:
01252616
Views:
12
>Hello comunity
>
>i want to know how to transform a text field value to date.
>ex: value of my text field = 01.01.2007
>i need to format this value to dateformat for example apply this function :
>month(textfield)
>
>many thanks
>Luis Santos

Well the simple answer is:

ctod(yourtextfield.value)

Be carefull about date formats.
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