
Creator
2023-07-05
02:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MonthStart and MonthEnd Dates as YYYYMMDD format from dd/mm/yyy
Hi All,
I have been trying to format a date and remove seperators but no joy YYYYMMDD
Not DD/MM/YYYY
I have attached a sample files to explain
appreciate any help
Reagrds Peter
708 Views
1 Solution
Accepted Solutions

Partner - Master
2023-07-05
05:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try:
Date(MonthStart(TempDate), 'YYYYMMDD') as MonthStartDateNum,
Date(MonthStart(TempDate), 'YYYYMMDD') as MonthEndDateNum
690 Views
2 Replies

Partner - Master
2023-07-05
05:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try:
Date(MonthStart(TempDate), 'YYYYMMDD') as MonthStartDateNum,
Date(MonthStart(TempDate), 'YYYYMMDD') as MonthEndDateNum
691 Views

Creator
2023-07-05
05:09 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
you are Correct had to change the MonthEnd date to the second statement but all good works as I require 20161201 20161231
Date(MonthStart(TempDate),'YYYYMMDD')as MonthStartDateNum
Date(MonthEnd(TempDate),'YYYYMMDD')as MonthEndDateNum
thank you
Regards Peter
682 Views
