I’m trying to get a files creation date as a string and I’m stumped, I can find how to convert a datetime in string format to a actual datetime variable but not the other way around. I’m using the following to get the creation date
let t_date = RemObjects.Elements.RTL.File(full_filename).DateCreated
then
let formatter1 = RemObjects.Elements.RTL.DateFormatter()
formatter1.Format(“DD-MM-YYYY”)
but can’t work out how to get t_date into a string in the format shown above. What should I be doing?