Toggle Side Panel

  • Home
  • Articles
    • All Articles
    • Blogs
    • Videos
    • Infographics
  • 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
  • Marketplace
  • Advertise With Us
  • Contact Us
  • Discussions
More options
    Sign in Sign up
    • Home
    • Articles
      • All Articles
      • Blogs
      • Videos
      • Infographics
    • 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
    • Marketplace
    • Advertise With Us
    • 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, 3 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, 3 months ago by  Prafull.
      • This reply was modified 8 years, 3 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

    [adinserter block="12"]

    Popular Salesforce Blogs

    Lightning Web Components

    Salesforce Lightning Web Components Open Source Version (OSS)

    Blog in Others, Salesforce

    Introduction Lightning Web Components Open Source is an enterprise-grade UI framework built on modern web standards using which you can build apps that can run…

    App Tool, Applications, Automatic Import, Build LWC, Code Completion
    Anuj Dec 1, 2020
    4,554  Views

    Salesforce Development Trends to Watch in 2024

    Blog in Salesforce

    Being an exciting CRM platform, Salesforce has been an integral part of the business world. The suite of Salesforce applications is beginning to find widespread…

    Artificial Intelligence, BI Tools, blockchain technology, Business Efficiency, Business Market
    DianApps Apr 2, 2024
    892  Views

    Change Your Business Game With Salesforce and Vlocity

    Blog in Salesforce

    Salesforce has been one of the most well-known CRM platforms used by thousands of businesses, accountants, and firms all over the world. With over 150,000…

    AppExchange, Application of Salesforce, Best Practices, Broadcast Sectors, Business Game
    Apphienz Aug 31, 2021
    2,234  Views

    Popular Salesforce Videos

    Step-by-Step Guide to Implementing Einstein Chatbot in Salesforce

    Step-by-Step Guide to Implementing Einstein Chatbot in Salesforce

    Video in Others

    Watch this video to learn about the following: Introduction to Einstein Chatbot and its capabilities. Prerequisites for setting up the chatbot in your Salesforce environment.…

    Salesforce Tutorial, salesforce, Salesforce Video, Salesforce Environment, Einstein
    SF Jun 24, 2024
    645  Views
    Famous Brands With Their Applications Listed On Salesforce AppExchange

    Famous Brands With Their Applications Listed On Salesforce AppExchange

    Video in AppExchange, Salesforce Apps

    Selling your app on AppExchange can dramatically increase your business revenue. Various renowned brands have already harnessed the potential of this marketplace to broaden their…

    Salesforce Developer, salesforce, Salesforce Hulk, Salesforce Webinar, AppExchange
    Cyntexa Jul 19, 2023
    988  Views
    Build a Discount Calculator | Trailhead - Autolaunched Flow Salesforce Example

    Build a Discount Calculator | Trailhead - Autolaunched Flow Salesforce Example

    Video in Salesforce Training, Trailhead

    In this video, I'm creating a Discount Calculator with the help of Salesforce Flow to Automate Your Business Processes with Lightning Flow. So it's a…

    Salesforce Training, Salesforce Lightning, Trailhead, Salesforce Flow, Trailhead Module
    Shubham Feb 22, 2021
    2,855  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.