I have tried DQL statement below on DA and result from DATETOSTRING function is difference from original date.
r_creation_date is time at GMT+7 but DATETOSTRING is GMT.
Is there any way to make result from DATETOSTRING to same timezone with original date?
Thanks
Pakorn
DQL :
SELECT r_creation_date,DATETOSTRING(r_creation_date,'DD/MM/YYYY hh')
FROM dm_document
Timezone:
- CS host timezone: GMT+7
- DA host timezone: GMT+7