Difference in time between current time and time fetched from CurrDateTime()

Hi,

Currently I'm using  CurrDateTime function to fetch time but the fetched time is almost 6 minutes behind actual SGT. I used GetTimeZone function to check the timezone of the server. The value of the identifier it returned me is "Singapore Standard Time". If the Time Zone of the server is correct then why CurrDateTime() is returning  time which is lagging by 6 minutes. Can anyone help me with this?

Hello Shashankit.

Function CurrDateTime that runs on Client Actions uses machine time. Only Server Actions and database run with server time.

Can that explain your difference?