Forum Discussion
gvg
Post Prodigy
3 years agoHow to set parameter for current date to be used in Source
Hello, I need to extract contents of a web page like this : https://SomeWebPage/?date=25/1/2023 My problem is that I have to specify the date (which is today's date) every time I extract data...
gvg
Post Prodigy
3 years agoMAwwad , I created the current date with this code:
let
Source = Text.End("0" & Text.From(Date.Day(DateTime.LocalNow())),2) & "." & Text.End("0" & Text.From(Date.Month(DateTime.LocalNow())),2) & "." & Text.From(Date.Year(DateTime.LocalNow()))
in
Source
Not sure what to do next. How do I assign it to parameter?