I referenced this post: How to convert date format in golang? and have this code on the playground:
https://play.golang.org/p/oNFVlDz9JoF
But I can't seem to get it to work. I've padded the month with a 0 and still no dice. The time I'm trying to convert is 4/20/2018 9:08:34 AM and I want it in this format: 2009-04-20T21:18:44Z
NewLastDate = CDate(LastModified) 'generates 4/20/2018 9:08:34 AM
That's from a VBA script. 'LastModified' is in this format: dddd.ttttt VB/VBA format