I want the enduser to set the datetimefield as UTC-time. I want to make sure
ît is handled as UTC at program side - not to rely on the server settings. 
When I display the entered DateTimeField with the
"getModelObject().toString()"  it displays those values indicating that they
represent the server timezone. That means UTC is different. 
The only chance I see to handle the number as UTC themselves is that I need
to retrieve the Date().getTimeZoneOffset() and calculate the Date myself. 
Is the DateTimeField.changeTimeZone()-method of an help here? I don't see
what it is meant for right now.

My code looks like this:



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Preset-the-TimeZone-of-DateTimeField-tp4670631.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to