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

    5 Significant Benefits of Salesforce CRM Testing

    Blog in Salesforce, Salesforce Stories

    Providing superior customer service is no longer a choice for businesses, it has rather become a necessity to sustain in this competitive world. However, providing…

    Business Operations, Business Process, CRM, CRM Platform, CRM systems
    Girikon Dec 15, 2022
    1,865  Views

    Top Secrets to Master Salesforce to Increase Business Growth

    Blog in Salesforce

    There are various advantages of using Salesforce for your business. It helps you grow significantly; for desired output, we suggest you take help from certified…

    Business, Business Growth, Business Owner, Business Performance, Certified Salesforce Consulting Companies
    Hennery cavil Aug 16, 2022
    2,678  Views

    Salesforce Engage: Ideal Link Between Marketing and Sales

    Blog in Salesforce

    The cohesion between the marketing and sales teams is vital in the business world as it allows concerted efforts, speeding up sales cycles, and optimizing…

    Business World, Contact Record, Data-driven Decisions, Email Communications, Email Interactions
    SkyPlanner May 5, 2023
    1,347  Views

    Popular Salesforce Videos

    Difference between Profile and Roles in Salesforce

    Difference between Profile and Roles in Salesforce

    Video in Salesforce Admin

    Learn about the difference between Profile and Roles? Watch this video and do let us know if you have any questions or concerns.

    Salesforce Training, Salesforce Tutorial, Salesforce Online Training, Salesforce Certification, Profiles In Salesforce
    CRS Mar 10, 2022
    2,348  Views
    How to use Cauzali in Salesforce Service/sales cloud and all of Salesforce industry clouds. Add functionality to your users with Cauzali

    How to use Cauzali in Salesforce Service/sales cloud and all of Salesforce industry clouds. Add functionality to your users with Cauzali

    Video in Coding and Scripting, Salesforce Cloud Platform

    With a maximum price of $6.000 a year for your org. You and your colleague can make all the solutions you want including Community solutions.…

    salesforce, Salesforce Cloud Platform, Salesforce Industry, Salesforce Video, Sales Cloud
    Tom Bo May 14, 2020
    1,676  Views
    Salesforce Commerce Cloud Vs Shopify – Which One Is Better

    Salesforce Commerce Cloud Vs Shopify – Which One Is Better

    Video in Salesforce Cloud Platform

    If you own an e-commerce business in today's time, it becomes imperative to have a right-fit platform that helps you stand out from your competition…

    Salesforce Training, salesforce, Salesforce Commerce Cloud, Salesforce Video, Salesforce Learning
    Cyntexa Jun 9, 2022
    2,057  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.