Announcements
Got it! Since the DATEVALUE function in Electronic Reporting (ER) does not directly support Julian date formats, we need to take a different approach.
Solution Approach:
Extract Year and Julian Day:
Julian Date 25080 → Year: 2025, Julian Day: 080.
Convert Julian Day to a Date:
Add the Julian Day to 1st January of that year.
Format the Date in UK Format (DDMM).
Final Formula in Electronic Reporting (ER):
er
CopyEdit
TEXT(ADDDAYS(DATEVALUE(CONCATENATE(TEXT(25, "00"), "0101"), "yyyyMMdd"), VALUE(TEXT(080, "000")) - 1), "ddMM")
Breakdown of the Formula:
Get the Year (First Two Digits of Julian Date):
er
CopyEdit
TEXT(25, "00") → "25" (for 2025)
Assumes the Julian date format is YYDDD (like 25080 for 21-Mar-2025).
Converts "25" to "2025".
Create 1st January of the Year:
er
CopyEdit
DATEVALUE(CONCATENATE(TEXT(25, "00"), "0101"), "yyyyMMdd")
Results in 01-Jan-2025.
Extract Julian Day (Last Three Digits of Julian Date):
er
CopyEdit
VALUE(TEXT(080, "000")) - 1
Converts "080" to 80 and subtracts 1 (since 01-Jan is Day 1).
Add Days to 1st January to Get the Actual Date:
er
CopyEdit
ADDDAYS(DATEVALUE(CONCATENATE(TEXT(25, "00"), "0101"), "yyyyMMdd"), VALUE(TEXT(080, "000")) - 1)
01-Jan-2025 + 79 days → 21-Mar-2025.
Format the Date as DDMM (UK Format):
er
CopyEdit
TEXT(..., "ddMM")
Converts 21-Mar-2025 to "2103".
Example Inputs & Outputs:
Julian Date (YYDDD) | Converted Date (DDMM) |
25080 | 2103 (21-Mar-2025) |
24136 | 1505 (15-May-2024) |
23100 | 1004 (10-Apr-2023) |
This should now correctly convert Julian dates to UK format in Electronic Reporting. Let me know if you need adjustments! 🚀
In Electronic Reporting (ER), use the DATEVALUE
function to convert a Julian date (e.g., 136
) into a standard DDMM (UK format). Here's a concise solution:
Convert Julian Date to Actual Date:
136
1605
(16th May)This will properly format and import the date into Dynamics 365 during bank statement processing. Let me know if you need further adjustments! 🚀
André Arnaud de Cal...
294,120
Super User 2025 Season 1
Martin Dráb
232,871
Most Valuable Professional
nmaenpaa
101,158
Moderator