Hello, I´m having some trubles with the format of the date. I need to manipulate the date in [UTC-3] but I only have the RTC date.
How can I configured to recibe the msg.payload with the UTC-3
Thanks Lucas
Feed what you have into a debug mode so we can see what it is. Then tell us what you want to get, and what you want to do with it.
I changed the time with a change node after the picker.
[
{
"id": "5093d9525f84ee50",
"type": "change",
"z": "4e947a88473e59ec",
"name": "Get TimeString",
"rules": [
{
"t": "set",
"p": "payload",
"pt": "msg",
"to": "$moment(payload,'x').utc(false).format('HH:mm')",
"tot": "jsonata"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 4400,
"y": 580,
"wires": [
[
"0d0bcbdecfbb3202"
]
],
"info": "akzeptiert Datumsformate ('DD.MM.YYYY HH:mm:ss') oder timestamps('x')"
}
]
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.