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

    Certified Salesforce Consulting Partner – A Game Changer for Businesses

    Blog in Salesforce Consultant

    In today’s digital world, businesses rely on Customer Relationship Management (CRM) platforms like Salesforce to streamline operations, enhance customer engagement, and drive sales growth. However,…

    Salesforce Consulting
    Zordial Aug 1, 2025
    237  Views

    How to do a Successful Marketing Cloud Personalization Implementation?

    Blog in Salesforce Cloud Platform

    To personalize and manage real-time interactions with your customers, Salesforce Marketing Cloud Personalization is a potent tool. But you need to plan and execute it…

    Business Goals, Business Users, Cloud Computing, cloud-service-provider, Cross-functional Collaboration
    Concretio Feb 20, 2024
    1,587  Views

    Top 11 Extensions for Salesforce Developers

    Blog in Salesforce

    Extensions are computer programs that let users personalize their Chrome surfing experience. They are created using web technologies like HTML, CSS, and JavaScript. documentation for…

    Apex Triggers, API Names, API Versions, Autocomplete, Campaign Management
    SP Aug 30, 2023
    1,198  Views

    Popular Salesforce Videos

    How To Set Up A Site On Salesforce | Salesforce Development Tutorial

    How To Set Up A Site On Salesforce | Salesforce Development Tutorial

    Video in Salesforce Development

    Learn how to set up a site on Salesforce. This tutorial will cover the following points - 1. Create Public Websites Choose a branded URL…

    Salesforce Training, Salesforce Development, salesforce, Salesforce Development Tutorial, Salesforce Video
    Algoworks Dec 28, 2020
    1,918  Views
    Salesforce Developer Career Path | How to Become Salesforce Developer

    Salesforce Developer Career Path | How to Become Salesforce Developer

    Video in Salesforce Training

    Watch this video to get a good idea about the Salesforce Developer Career Path. In this video you will learn how to become Salesforce Developer.…

    Salesforce Training, Salesforce Developer, Salesforce Video, Salesforce Career, Salesforce Learning
    Nauman Jul 29, 2021
    1,671  Views
    Salesforce 101 for Salespeople

    Salesforce 101 for Salespeople

    Video in Salesforce1

    In this video, Oliver Sholder breaks down Salesforce 101 for us. He covers everything from what Salesforce is and does, to how it can benefit…

    Salesforce Training, Salesforce Tutorial, salesforce, Salesforce Learnng, Salespeople
    Tulika Wadhwani Sep 19, 2022
    1,521  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.