DATE from TIMESTAMP
Hi
I am converting timestamp to datetime format with basetype DATETIME with the code "var date = new Date(Timestamp * 1000)". The result of it is being saved in an datafield of DATETIME basetype. I want to extract the date part of the result since i want to apply aggregate function on it. To extract the date part of the column, I am using (getFullYear(),getMonth(), getDay()) methods. But it gives me an error "Cant find getFullYear() function in "Wed Jan 15 2020 06:26:30 GMT+0530 (IST) "" Even though my DATETIME is being stored in the format YYYY/MM/DD HH:MM:SS why is it pointing to the GMT format to extract the DATE object
A way aorund it would highly be appreciated
regards

