Send a data on a specific time from NodeMCU to Node-Red via MQTT using RTC

without the sending data code, it is working, but only showing hour and minute.Does it because im not include the second to the send data code?