text: var TcHmi;!function(TcHmi){let Functions;!function(Functions){let Beckhoff;!function(Beckhoff){Beckhoff.ToDateTimeString=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:"full"});return result||""}}(Beckhoff=Functions.Beckhoff||(Functions.Beckhoff={})),Functions.registerFunctionEx("ToDateTimeString","TcHmi.Functions.Beckhoff",Beckhoff.ToDateTimeString)}(Functions=TcHmi.Functions||(TcHmi.Functions={}))}(TcHmi||(TcHmi={}));