Search found 3 matches

by aletopo
Tue Apr 16, 2024 6:07 am
Forum: Stimulsoft Reports.WEB
Topic: Convert (UNIX-)Timestamp
Replies: 7
Views: 1925

Re: Convert (UNIX-)Timestamp

Yes, this is the code integrated in the server.js file: function unixToISO(timestamp) { iso = new Date(timestamp).toISOString(); return iso; }; Stimulsoft.Report.Dictionary.StiFunctions.addFunction("Unix", "unixToISO", "unixToISO", "Description", "",...
by aletopo
Fri Apr 12, 2024 1:38 pm
Forum: Stimulsoft Reports.WEB
Topic: Convert (UNIX-)Timestamp
Replies: 7
Views: 1925

Re: Convert (UNIX-)Timestamp

Hello,
Thank you, this was the decisive hint and it works when sending a request to the reporting server :-)
Unfortunately the stimulsoft.viewer still fails to recognize the function. Eventually some more configuration needed?
by aletopo
Fri Apr 05, 2024 1:17 pm
Forum: Stimulsoft Reports.WEB
Topic: Convert (UNIX-)Timestamp
Replies: 7
Views: 1925

Re: Convert (UNIX-)Timestamp

Hi there, It seems this way of conversion uses .NET framework methods. It works fine when generating a single report from desktop application, but fails in batch processing (fields remain empty). For batch processing we are using a Node.js based server. I assume all .NET framefork methods like DateT...