Dear Team,
I am unable to format the timestamp to datetime.
I used below logics to get the sopaui timestamp format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
FormatUTCDateTime(Now(); "yyyy-MM-dd")&"T"&FormatUTCDateTime(Now(); "HH:mm:ss")&"Z"
FormatUTCDateTime(Now(); "yyyy-MM-dd'T'HH:mm:ss'Z'"
But the output format is interms of text which is throwing a date parse exception when send it through my request.
I also used a code stage to get the work done but unfortunately, i didnt work.
Dim MS
MS = format(Now,"yyyy-MM-dd'T'HH:mm:ss.SSS'Z'")
Console.WriteLine(MS)
Please suggest a way to handle this exception. Any help would be highly appreciated.