1. This is a question related to the time zone.
I live in an area where UTC +9:00.
So if I run a new Date() on my local it should work.
But what if I do new Date() in PlayFab CloudScript??
Is this value affected by the region set in my profile-timezone?
In other words, because I set utc+9:00 in my profile,
Are the results of new Date() and Date.now() the same as my local computer and PlayFab cloud environment?
2. I am curious about the types that can be used next to the return of the cloud script.
Looking at other functions Return the object to the client in the same way as return {dd: dd },
but Another function return JSON.stringify(grantedItems);
Returns a string appended with "", such as. Can I use both cases??
What I don't understand is, is it sending jsonized "" strings when communicating with server-client? (JSON.stringify) or sending objects like {dd:dd}?