Hi all, 

I was wondering how best to get the Server Time from a Screen Action (Reactive Web App)?


Thanks.

Hi Olivier,

If the built-in functions CurrDate() or CurrDateTime() are called from a Server Action, they will return the Server Date/DateTime. If they are called from a Client Action, they will return the Device Date/DateTime.

Regards,

Nordin

Nordin Ahdi wrote:

Hi Olivier,

If the built-in functions CurrDate() or CurrDateTime() are called from a Server Action, they will return the Server Date/DateTime. If they are called from a Client Action, they will return the Device Date/DateTime.

Regards,

Nordin

Ok - so then is the best way to wrap CurrDateTime() in a Service/server Action and then call it from the Screen Action?


Solution

Yes that should work Olivier.

Solution