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, 7 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, 7 months ago by  Prafull.
      • This reply was modified 8 years, 7 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

    Inserting Records in Account or (any other sObject) Through Postman in salesforce

    Inserting Records in Account or (any other sObject) Through Postman in Salesforce

    Blog in Salesforce Apex

    We are using postman from API testing and request management to hit API by get or post and received data in the form of JSON…

    connected app, oAuth2, Postman, Rest API, Salesforce
    Nitin Aug 29, 2017
    30,810  Views

    How to Transfer Outlook Contacts to Salesforce?

    Blog in Data Migration

    Introduction: Exporting Outlook contacts to Salesforce is a strategic step that enhances customer relationship management and optimizes business processes. Migrating these contacts ensures seamless integration…

    Automated Solution, Business Processes, Centralized Data, Challenges, Collaboration
    jack Sep 4, 2023
    2,101  Views
    commerce cloud

    Salesforce Commerce Cloud Implementation

    Blog in Salesforce Cloud Platform

    Salesforce is a globally trusted and most popular cloud-based platform that offers a wide range of digital products to businesses to increase their potential, acquire…

    Application Server, B2B Commerce cloud, B2C Cloud Solution, B2C Commerce, B2C Commerce Application
    Cyntexa Jun 8, 2021
    7,048  Views

    Popular Salesforce Videos

    How to Configure and Customize Salesforce Lightning

    How to Configure and Customize Salesforce Lightning

    Video in Lightning, Salesforce Training

    A Salesforce expert will guide you through all of the configuration, customization, and personalization options available so you can get the most out of Lightning…

    Salesforce Training, Salesforce Lightning, salesforce, Sales Productivity, Salesforce Lightning App
    Prafull Jul 20, 2021
    2,373  Views
    Pardot vs Marketing Cloud: What's The Difference?

    Pardot vs Marketing Cloud: What's The Difference?

    Video in Salesforce Products, Salesforce Cloud Platform

    There are different functions of each Salesforce product according to the use cases. Many businesses get confused between Salesforce Pardot and Marketing cloud. Pardot is…

    Salesforce Training, Salesforce Tutorial, Lead Management, salesforce product, Salesforce Learning
    Cyntexa Dec 29, 2022
    1,648  Views
    How to Manage Your Data and Contacts in Salesforce Marketing Cloud

    How to Manage Your Data and Contacts in Salesforce Marketing Cloud

    Video in Salesforce Training

    Learn how contacts are counted and how data is structured in Marketing Cloud. This video explores how Marketing Cloud receives data from many sources and…

    Salesforce Training, Salesforce Tutorial, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning
    Prafull Oct 12, 2021
    2,286  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.