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

    Empowering Customer Engagement: Unleashing AI in Salesforce CRM

    Blog in Salesforce

    In today's data-driven world, the fusion of artificial intelligence (AI) with customer relationship management (CRM) is transforming the landscape of customer service, engagement, and retention.…

    Artificial Intelligence, Automated Workflows, Business Growth, Case Study, CRM
    CRMJetty Oct 23, 2023
    2,309  Views

    Best Salesforce Integration Services for 2026

    Blog in Salesforce

    Businesses rarely rely on Salesforce alone. Sales, marketing, customer support, finance, ERP, ecommerce, analytics, and communication platforms often operate as separate systems. Without proper integration,…

    Salesforce Development Services, Salesforce Integration, Salesforce Integration Services, Salesorce API development
    Dean Sep 23, 2026
    171  Views
    How to send email using LWC?

    How to Send Emails Using Lightning Web Component (LWC)?

    Blog in Others

    What are the features of Lightning Web Components to send emails?  Enables you to retrieve emails from Contact and User objects, and it can be…

    Attached CSV Files, Attachment, Attachments in Salesforce, Automated Process Service, Automation
    NARENDRA Apr 5, 2023
    5,105  Views

    Popular Salesforce Videos

    Intro to Salesforce Macros

    Intro to Salesforce Macros

    Video in Others

    Users can run macros to complete repetitive tasks—selecting an email template, sending an email to a customer, updating the case status—all in a single click.…

    Salesforce Sales Cloud, Salesforce Lightning Experience, Sales Cloud Consultant, Lightning App Builder, Automate Business Processes
    Shiv Kumar Sharma Mar 29, 2018
    2,128  Views
    Is The Salesforce Job Market Saturated? | The Facts

    Is The Salesforce Job Market Saturated? | The Facts

    Video in Salesforce Stories

    You may have heard that the Salesforce job market is saturated, however there is no evidence to indicate this, in fact it’s the exact opposite!…

    Salesforce Training, salesforce, Salesforce Video, Salesforce Learning, Salesforce Job
    Rupal Kakkar Aug 18, 2021
    2,569  Views
    Mastering Apex Collections | Salesforce Tutorial

    Mastering Apex Collections | Salesforce Tutorial

    Video in Salesforce Apex, Salesforce Training

    Working with collections like List, Map and Set is part of the day’s routine for Apex developers. While their basic use is straightforward, there are…

    Salesforce Training, Salesforce Tutorial, Salesforce Apex, salesforce, Apex
    Prafull Oct 6, 2021
    2,784  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.