Hi,
I have a build a date as string from yesterday:
now_dt = dt.utcnow()
yday_dt = now_dt - datetime.timedelta(days=1)
yesterday = print(yday_dt.strftime("%m/%d/%Y"))
And I want to query a table text-column "akt_datum" with a Filter: where akt_datum=yesterday:
I tried this, but it doesnt work:
q_yday=table.query(where="akt_datum = yesterday", out_fields = ["titel, typ, views, akt_datum, aenderung"]).sdf
So my question is, how works the table.query Filter with a calculated variable?
Thanks and Greets