Toggle Side Panel

  • Blogs
  • Consultants
    • Salesforce Product Expertise
      • Top Salesforce ConsultantsTop Salesforce Consultants
      • Marketing Cloud ConsultantsMarketing Cloud Consultants
      • Service Cloud ConsultantsService Cloud Consultants
      • Experience Cloud ConsultantsExperience Cloud Consultants
      • Analytics Cloud ConsultantsAnalytics Cloud Consultants
    • Salesforce Industry Expertise
      • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
      • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
      • Health Cloud ConsultantsHealth Cloud Consultants
      • Commerce Cloud ConsultantsCommerce Cloud Consultants
      • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
    • Salesforce Experts by Location
      • USATop Salesforce Consultants in USA
      • IndiaTop Salesforce Consultants in India
      • AustraliaTop Salesforce Consultants in Australia
      • United KingdomTop Salesforce Consultants in UK
      • CanadaTop Salesforce Consultants in Canada
  • Webinars
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Blogs
    • Consultants
      • Salesforce Product Expertise
        • Top Salesforce ConsultantsTop Salesforce Consultants
        • Marketing Cloud ConsultantsMarketing Cloud Consultants
        • Service Cloud ConsultantsService Cloud Consultants
        • Experience Cloud ConsultantsExperience Cloud Consultants
        • Analytics Cloud ConsultantsAnalytics Cloud Consultants
      • Salesforce Industry Expertise
        • Non-Profit Cloud ConsultantsNon-Profit Cloud Consultants
        • Financial Service Cloud ConsultantsFinancial Service Cloud Consultants
        • Health Cloud ConsultantsHealth Cloud Consultants
        • Commerce Cloud ConsultantsCommerce Cloud Consultants
        • Manufacturing Cloud ConsultantsManufacturing Cloud Consultants
      • Salesforce Experts by Location
        • USATop Salesforce Consultants in USA
        • IndiaTop Salesforce Consultants in India
        • AustraliaTop Salesforce Consultants in Australia
        • United KingdomTop Salesforce Consultants in UK
        • CanadaTop Salesforce Consultants in Canada
    • Webinars
    • Contact Us
    • Discussions
    Close search

    Activity › Forums › Salesforce® Discussions › Jquery moment datetimepicker Timezones in Salesforce

    Tagged: Datetime Field, datetimepicker, Help & Training, JQuery, JQuery Moment, Log File, Salesforce Login, Timezone

    • Salesforce® Discussions

      Jquery moment datetimepicker Timezones in Salesforce

      Posted by Manpreet on January 24, 2018 at 1:42 PM

      Does jquery moment datetimepicker takes system time for different time zones. And how the timezone of the user (currently logged in in salesforce) affects the moment datetimepicker?

      Prafull replied 8 years, 9 months ago 2 Members · 1 Reply
      • Datetime Field
      • datetimepicker
      • Help & Training
      • JQuery
      • JQuery Moment
      • Log File
      • Salesforce Login
      • Timezone
    • 1 Reply
    • Prafull

      Member
      January 29, 2018 at 1:06 PM

      Datepicker uses UTC (+800) time by default. You will need the moment-timezone api to change your timezone.

      You can then convert the timezone to whatever timezone you want:

      // guess current client's timezone
      var guess = moment.tz.guess();

      // get moment object from datetimepicker
      var datetime = $('#datetimepicker').data("DateTimePicker").date();

      // convert moment object's timezone
      datetime.tz(guess);

      // set moment object as new value for datetimepicker
      $('#datetimepicker').data("DateTimePicker").date(datetime);

      // also tell datetimepicker about the used timezone
      $('#datetimepicker').data("DateTimePicker").timeZone(guess);

      • This reply was modified 8 years, 9 months ago by  Prafull.
      • This reply was modified 8 years, 9 months ago by  Prafull.

    Log In to reply.

    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me
    • Public
    • All Members
    • My Connections
    • Only Me

    Popular Salesforce Blogs

    Balancing Human & Ai-Powered Customer Service

    Blog in AI and ML

    Customer service is the vital relationship between a company and its customers, since it helps to keep and improve the value of those customers. By…

    Artificial Intelligence, Automated messaging, Automation, Balancing human and AI-powered customer service, Banking Industry
    Twistellar Jul 18, 2023
    1,653  Views
    What are the Top 10 Useful Extensions In Salesforce in 2023?

    What are the Top 10 Useful Extensions In Salesforce in 2023?

    Blog in Salesforce

    The top 10 useful extensions for Salesforce in 2023 are:  Salesforce Inspector Productivity tools for Salesforce administrators and developers to inspect data and metadata directly…

    APEX Programming Language, Apex SOAP API, Apex Tests, Apex Trigger, Apex Triggers
    SF Jan 19, 2023
    2,274  Views

    Salesforce Distributed Marketing – Enabling the last mile to connect!

    Blog in Salesforce Products

    Salesforce Distributed Marketing – When you utter the name of a brand and people are able to instantly recognize, it’s not just because they know…

    Customer Experiences, Features of Marketing Cloud, Marketing Automation, Marketing Campaigns, Sales Cloud
    LevelShift (formerly DemandBlue) Jun 10, 2019
    2,691  Views

    Popular Salesforce Videos

    Introduction to Salesforce Nonprofit Cloud for Program Management

    Introduction to Salesforce Nonprofit Cloud for Program Management

    Video in Others, Salesforce Cloud Platform

    Each nonprofit’s mission and the program is unique, but with Salesforce’s highly configurable and customizable platform, you can manage your entire program from one central…

    Salesforce Video, Salesforce Learning, Salesforce Nonprofit Cloud, Program Management, Nonprofit’s Mission
    Prafull Feb 4, 2021
    2,659  Views
    Salesforce On-Demand Administrator

    Salesforce On-Demand Administrator

    Video in Salesforce Admin

    Apphienz's On-demand Administrator delivers much more than the company's expectations. It is hands-on, makes the work easy, efficient and productive along with being available to…

    Salesforce Training, Salesforce Admin, Salesforce Video, Salesforce Learning, Salesforce On-Demand Administrator
    Apphienz May 3, 2021
    1,813  Views
    Salesforce Grid Component Modernization with Webix Widgets

    Salesforce Grid Component Modernization with Webix Widgets

    Video in Others

    Take a break and watch a short video about how we modernized the Salesforce Grid component with Webix.

    Salesforce Components, Salesforce Developers, UI API in Salesforce, Salesforce Lightning Framework, Salesforce Grid
    Victoria Stanishevskaya Apr 29, 2019
    2,716  Views
    Footer Forcetalks logo

    support@forcetalks.com

    • twitterx

    Quick Links

    Advertise with Us

    Salesforce® Articles

    Dreamforce 2023

    Top Salesforce® Bloggers 2023

    Top Salesforce Consultants

    Get Listed

    Company

    Contact Us

    About Us

    Privacy Policy

    Terms & Conditions

    InsightHub

    Salesforce Blogs

    Salesforce Videos

    Salesforce Groups

    Salesforce Jobs

    © 2026 - Forcetalks ● All Rights Reserved

    Salesforce® is a trademark of Salesforce® Inc. No claim is made to the exclusive right to use “Salesforce”. Any services offered within the Forcetalks website/app are not sponsored or endorsed by Salesforce®.

    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.