To find Starting Date
sabarichandru
Member Posts: 4
Hi..
i need to find the starting date of the month from the given input . can anybody help me to find out the answers .
Regards,
Sabari
i need to find the starting date of the month from the given input . can anybody help me to find out the answers .
Regards,
Sabari
0
Comments
-
u'r requirment is not cleare please specify the senario and available field .0
-
You can use DATE2DMY and DMY2DATE for this kind of actions.
Take a look at the function in the C/AL Symbol Menu under SYSTEM, Date and press help (F1) on the different functions to see how to use them.
Tino Ruijs
Microsoft Dynamics NAV specialist0 -
If you want to find the first day of the calendar month why don't you use the function CALCDATE ?
It could beFirstDay := CALCDATE('<-CM>',GivenDate);
If you want to find the Starting Date of the Accounting Period you must use the Accounting Period table.My candle burns by both ends, it will not last the night,
But oh my foes and oh my friends, it gives a lovely light0 -
sabarichandru wrote:Hi..
i need to find the starting date of the month from the given input . can anybody help me to find out the answers .
Regards,
Sabari
FirstDateOfMonth := CALCDATE(MyDate,'<-CM>');
(or something like that)David Singleton0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

