-
Notifications
You must be signed in to change notification settings - Fork 30
/
Copy pathPQ_Locale.pq
38 lines (38 loc) · 1.03 KB
/
PQ_Locale.pq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
let
Source = Web.Page(Web.Contents("https://docs.microsoft.com/en-us/cpp/c-runtime-library/language-strings?view=msvc-160")),
Data0 = Source{0}[Data],
#"Custom: DD-MM-YYYY" =
Table.AddColumn(
Data0,
"DD-MM-YYYY",
each
Date.FromText(
"22-01-2021",
[Equivalent Locale Name]
),
type date
),
#"Custom: MM-DD-YYYY" =
Table.AddColumn(
#"Custom: DD-MM-YYYY",
"MM-DD-YYYY",
each
Date.FromText(
"01-22-2021",
[Equivalent Locale Name]
),
type date
),
#"Custom: YYYY-MM-DD" =
Table.AddColumn(
#"Custom: MM-DD-YYYY",
"YYYY-MM-DD",
each
Date.FromText(
"2021-01-22",
[Equivalent Locale Name]
),
type date
)
in
#"Custom: YYYY-MM-DD"