Server date-time

Is there a way to get the server datetime rather than the workstation datetime, with new Date() or similar, in a method? If the client is web rather than smart, does it use server datetime automatically?

Thanks,
Don

Have a look at application.getServerTimeStamp()
Since a web client’s code running on the server, it should use the server time already.

Thanks, Patrick, I didn’t notice that one.

Don