I'm still learning everything...literally. Alfred, php, json. I managed to finally get my workflow to POST to my Planka kanboard as a new card. However, I'm now trying to get the card's "due date" populated. For that I need it in json format like this:
$dueDate = "2022-03-12T21:00:00"
Bsically, how can I make $dueDate dynamic based on Now and Los Angeles?
The above works but obviously I need that to be Now (and ideally as Americas\Los_Angeles). The only stuff I can find is to add a class to my script---but I wasn't able to get that to work. Hoping someone has done this before and can just copy/paste something that magically works. Hope I'm asking this right---I'm a bit confused after googling.