Hi Chunyu,
Got it. I suspect that this is because you have a different user timezone
set on those 2 machines. For instance, on my computer, out of the box I get
a time in PDT, my local timezone:
2015-07-15T16:23:09.787-07:00
But if I add the following flag to the JVM -Duser.timezone=Australia/Sydney,
I'll get the time in the timezone for Sydney.
2015-07-16T09:20:57.608+10:00
If you want to get a consistent time across servers, you might want to
explicitly set -Duser.timezone to the same value on those different servers.
Alex
-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
View this message in context:
http://discuss.orbeon.com/current-dateTime-in-Orbeon-form-tp4660243p4660252.html