AnsweredAssumed Answered

Convert date to string

Question asked by vonmoosa on Sep 12, 2018
Latest reply on Sep 12, 2018 by rvburton

I created a query to pull the current weeks Monday but can't figure out how to convert that to a string and create a variable that prints it in this format ('%Y/%m/%d')

import datetime
today =
today + datetime.timedelta(days=-today.weekday())