Results 1 to 2 of 2

Thread: Getting server datetime

  1. #1

    Question Getting server datetime

    Hi friends..
    I need help about getting server datetime. I am using
    Code:
    String currentDate = DateTimeFormat.getFormat("dd.MM.yyyy HH:mm").format(new Date());
    in clientside. It gives me client's computer datetime. Is there easy way to get server machine datetime? Or I must use RPC call?

  2. #2
    Sencha Premium User
    Join Date
    Nov 2008
    Location
    Vienna - Austria
    Posts
    888

    Default

    If you really need the server side time, you should use an RPC call for getting it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •