Forum Discussion
- NedimRamic-88daCommunity Member
Try this:
const currentTime = new Date();
const timeString = `${currentTime.getHours()}:${(currentTime.getMinutes() < 10 ? '0' : '')}${currentTime.getMinutes()}`;
setVar("HoraAhora", timeString);- UCICAsociacinCiCommunity Member
It worked! thank you very much Nedim