var TcHmi;!function(TcHmi){!function(Functions){!function(Beckhoff){Beckhoff.ToTimeString=function(date,locale){if(null==date)return"";let useDate;useDate=date instanceof Date?date:new Date(date);let result=TcHmi.Localization.formatDate(useDate,{locale:locale,type:"time"});return result||""}}(Functions.Beckhoff||(Functions.Beckhoff={}))}(TcHmi.Functions||(TcHmi.Functions={}))}(TcHmi||(TcHmi={})),TcHmi.Functions.registerFunctionEx("ToTimeString","TcHmi.Functions.Beckhoff",TcHmi.Functions.Beckhoff.ToTimeString);