Want to set date fields to GMT

Wish to set dates to GMT in cuba app, which seems to require dateTime to function properly, while still keeping the functionality of the create, update, delete interfaces from standard entity date fields?

Hi,
It’s not quite clear what do you want.

My suggestion if you want to use GMT in your application:

  1. Set GMT time zone in your database server
  2. Set GMT time zone in the Java server command line arguments: -Duser.timezone=GMT
    This setting can be set in the “CUBA Application” run configuration settings.

That’s it.
Note that java.util.Date Java objects are independent of time zone. Time zone is mostly used when formatting dates to String or parsing them from String (e.g. in date input fields).