Forum Discussion
Syndicate_Admin
3 years agoAdministrator
Creating Custom Variable
I am new to Power Query and am using Power Apps to build a blank query connection to an API source. I am needing the startTime always to be constant, which is simple, but the endTime needs to be the ...
- 3 years ago
Hi Syndicate_Admin ,
Try this:
Text.Combine( { Date.ToText(DateTime.Date(DateTime.LocalNow()), "yyyy-MM-dd"), "T19%3A08%3A25Z" } )As a query:
let Source = Text.Combine( { Date.ToText(DateTime.Date(DateTime.LocalNow()), "yyyy-MM-dd"), "T19%3A08%3A25Z" } ) in SourceOutput:
Pete
Syndicate_Admin
3 years agoAdministrator
Perfect! Thank you.