Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
First day of the month
Message
From
13/07/2009 06:43:13
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01411761
Message ID:
01411842
Views:
65
>I am trying to get the first day of the month, using the code below
>
>mAhead = CTOD( "01" + "/" + CMONTH(DATE()) + "/" + STR(YEAR(DATE())))
>
>= MESSAGEBOX( mAhead )
>
>But I am getting and empty messagebox

fdom = date( year(date()), month(date()), 1)

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