Forum Discussion
apipko
9 years agoNew Member
Insert current date in extended editor
I get data via json let
content = "
{
""dimensions"": [""daily""],
""metrics"": [""visits"",""leads"",""sales"",""profit"",""marketing_cost"",""roi""],
""period"": {
""from"":""2017-06-...
- 9 years ago
See text below.
""to"":""" & DateTime.ToText(DateTime.LocalNow(), "yyyy-MM-dd") & "T00:00:00+0300""
Greg_Deckler
Community Champion
9 years agoIf I paste that code into Advanced Editor it errors. That also does not appear to be valid JSON syntax so I am a little confused. Date.LocalNow will return the current date and time.
https://msdn.microsoft.com/en-us/library/mt253492.aspx