char tmpstr[32];
time_t unixTime = time(NULL);
struct tm* timeStruct = localtime((const time_t *)&unixTime);
int hours = timeStruct->tm_hour;
int minutes = timeStruct->tm_min;
int seconds = timeStruct->tm_sec;
snprintf(tmpstr, sizeof(tmpstr)-1, "%02d:%02d:%02d", hours, minutes, seconds);
u32 tmpX = GetTextXCoordinate(interuimedium20, 1180, tmpstr, 'r');
DrawText(interuimedium20, tmpX, 0 + 47 + 10, themeCurrent.textColor, tmpstr);
I opened an issue here so you can reply your issue with your own settings.
Thanks, this worked for me.Compiled my fork with nigthly libnx, you can try if it works for you: https://github.com/octopuserectus/nx-hbmenu-m/releases/latest