The easiest way is to subtract the hours before ripping the time off the end with substring.
substring-after(addSeconds(now(), -3600 * 5), "T")
WARNING: Remember the current time (now()
) is calculated from the LOCAL machine. So if a person in London opens the form they will already be at London time and then your code will subtract 5 hours on top of that - making it incorrect.