Wyclef, if you’re still looking for some answers to this.. I’ve found this script that has gotten me about 90% there. The date works, just having a little trouble getting the time of day sorted out. It’s worth checking out.
https://gist.github.com/Jany-M/af50d5c4a0eec2692734d76383ed4dd8?permalink_comment_id=3159559