I tried to insert a Date Node to collect the DOB of my user, and a function showed up in my table, instead of the standard date numbers. Could somebody help?
here is the function (for 31st/01/1977)
{“value”:{“timestamp”:“Mon, 31 Jan 1977 14:49:22 GMT”,“year”:1977,“month”:1,“date”:31,“day”:“Monday”,“hour”:14,“minute”:49,“selected”:{“hour”:17,“minute”:49}},“range”:{“exists”:false}}
Regards people! All of the best!!!
PS: Today I saw a Coldplay´s video clip that was recorded in India, I guess! Here´s the youtube url, I loved it!
You need to create the date text from the object result by applyying like
let object = {
"value": {
"timestamp": "Mon, 31 Jan 1977 14:49:22 GMT",
"year": 1977,
"month": 1,
"date": 31,
"day": "Monday",
"hour": 14,
"minute": 49,
"selected": {
"hour": 17,
"minute": 49
}
},
"range": {
"exists": false
}
}
let { date, month, year} = object.value
let fullDate = date + "/" + month + "/" + year
1 Like
You are the boss my friend!!!
that was awesome!!! thank you!!! I am learning a bit day by day with your help!!! please let me know when you wll be visiting Brazil!!! I will show you our coolest places!!! hahaha
Regards and Happy New Year!!!