Tried your solution. With the @DateTime.CurrentDateTime() results are in expected format. But with input date like 2017-04-28T05:00:00.000Z or like in the original question , the FormatDateTime results in null value. Is it because the FormatDateTime functions expects the datestring in only GMT?
Posted: 3 years ago
Updated: 3 years ago
Posted: 20 Nov 2017 9:12 EST Updated: 20 Nov 2017 9:11 EST