Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi community,
Would you please give me advice what is the best way to extract the date from this specific timespamp:
P2019Y3M11DT11H4M54S
I've tried to use MID function to exctract the parts and concatenate them by ".":
Date =
Solved! Go to Solution.
Hey,
I would do something like this:
DATE( VALUE(< something that returns the year >) ,VALUE(< something that returns the month >) ,VALUE(< something that returns the day >) )
Regards,
Tom
Thank you guys, now it works!
Hey,
I would do something like this:
DATE( VALUE(< something that returns the year >) ,VALUE(< something that returns the month >) ,VALUE(< something that returns the day >) )
Regards,
Tom
Hi Egor,
test:=date(mid("P2019Y3M11DT11H4M54S",find("P","P2019Y3M11DT11H4M54S")+1,4),mid("P2019Y3M11DT11H4M54S",find("M","P2019Y3M11DT11H4M54S")+1,2),mid("P2019Y3M11DT11H4M54S",find("Y","P2019Y3M11DT11H4M54S")+1,1))
Probably not the best way, but this works.
User | Count |
---|---|
48 | |
44 | |
19 | |
14 | |
14 |
User | Count |
---|---|
107 | |
57 | |
29 | |
20 | |
16 |