Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7864149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T23:41:57+00:00 2026-06-02T23:41:57+00:00

Hey how to get the time of the computer and not the server using

  • 0

Hey how to get the time of the computer and not the server using vaadin because getDate return to me the time of the server but i want the client computer time ??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T23:41:58+00:00Added an answer on June 2, 2026 at 11:41 pm

    Vaadin has a class called WebBrowser that provides useful information about the client (browser):

    You can access the current WebBrowser instance for example as follows:

    public class MyApplication extends Application {
    
        @Override
        public void init() {
            setMainWindow(new Window());
    
            ApplicationContext context = this.getContext();
            if (context instanceof WebApplicationContext) {
                WebBrowser webBrowser = ((WebApplicationContext) this.getContext()).getBrowser();
    
                Date now = webBrowser.getCurrentDate(); // Returns the current date and time on the browser
            }
        }
    }
    

    For more information about the WebBrowser class, see its JavaDocs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey, im trying to get an INSERT command to work, but I keep getting
Hey all. Trying to get a little more efficient with lists in Python but
Hey, I'm pretty interested in OS writing, I was for a long time, but
Hey I was writing a udp client server in which a client waits for
Hey, I am trying to get the current GMT time in vb.net and can't
Hey, is there any easy way to get information when user will change time
Hey guys, I'm building an application which requires access to the server time before
Hey, sorry to bother you again, but I can't get this to work and
Hey guys i want to get the latitude and longitude of the users location.
hey guys, don't get it... I want to show a bar at the top

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.