Date format conversion

How to convert the date from YYYY-MM-dd HH:mm:ss format to this YYYY-MM-dd'T'HH:mm:ssz format from neo4j .

Therefore it should be something like:"2021-08-11 11:10:00", "YYYY-MM-dd HH:mm:ss", date_hour_minute_second_fraction)
or"2021-08-11 11:10:00", "YYYY-MM-dd HH:mm:ss", "YYYY-MM-dd'T'HH:mm:ssS")

Try this:

RETURN"2016-01-01 15:54:11", 's',"yyyy-MM-dd HH:mm:ss"), 's', "yyyy-MM-dd'T'HH:mm:ssz") as val
Result: "2016-01-01T15:54:11UTC"

Is it possible to change only the type without changing the format?

Currently save in "2016-01-01 15:54:11" format as a string {Datatype} , Expectation is 2016-01-01 15:54:11 as date {Datatype} .