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

    application solution

    Popular Salesforce Blogs

    8 Foolproof Steps to Salesforce Classic to Lightning Migration

    Blog in Lightning, Salesforce integration

    Migrating any critical software requires addressing the related complex challenges and preparing a clear roadmap for implementation. As the work environment and resources of every…

    AppExchange Apps, Apps, Best Practices, Business, Business Process
    360 Degree May 24, 2021
    2,675  Views
    Inline edit support in custom component in Salesforce Lightning

    Inline Edit Support in Custom Component in Salesforce Lightning

    Blog in Lightning, Salesforce customization, Salesforce Implementation

    If you have a situation where you need to create a custom component with inline edit functionality then this article will help you. However inline…

    AURA, ChildInlineEdit, Custom Component in Salesforce, Inline Edit in Salesforce, LightningInlineEditCltr
    Ajay Prakash Jan 15, 2018
    26,681  Views

    Importance of Salesforce and Financial Services Industry

    Blog in Salesforce Consultant

    In the rapidly evolving landscape of the financial services industry, leveraging technology is essential for staying competitive and meeting customer expectations. Salesforce has emerged as…

    Certified Salesforce Experts, managed services provider, Salesforce Automation, Salesforce Best practices, Salesforce Business Growth
    Codleo Sep 19, 2024
    538  Views

    Popular Salesforce Videos

    Uncomplicating Sales with Salesforce CPQ

    Uncomplicating Sales with Salesforce CPQ

    Video in Salesforce Products, Sales

    Sales representatives spend 34 percent of their time doing actual sales, while a staggering 66 percent of their time generating quotations, ideas, and gaining approvals,…

    salesforce, CPQ, Salesforce Video, sales, Salesforce Learning
    Algoworks Sep 25, 2020
    1,649  Views
    Salesforce Lightning Tutorial | Salesforce Developer Training for Beginners

    Salesforce Lightning Tutorial | Salesforce Developer Training for Beginners

    Video in Lightning

    This salesforce developer training for beginners video is a salesforce lightning tutorial where you will learn introduction to salesforce, salesforce components, salesforce lightning, lightning vs…

    Salesforce Training, Salesforce Lightning, salesforce, Salesforce Developers, Salesforce Lightning Platform
    Rupal Kakkar Apr 7, 2020
    2,166  Views
    Salesforce Developer No Code and Code - Extended Version

    Salesforce Developer No Code and Code - Extended Version

    Video in Salesforce Training

    Here you will find a showcase of new technologies, tools, product news, and tutorials from Salesforce experts. Learn to build, automate, and scale on the…

    Salesforce Training, Salesforce Tutorial, Salesforce Developer, salesforce, Salesforce Experts
    Prafull Apr 13, 2022
    2,323  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®.

    Try AuditMyCRM - It is a Salesforce CRM Audit tool which comprehensively scans your Salesforce org and gives you the list of errors or warnings you need to take care of.
    We use cookies to enhance your browsing experience. Please see our privacy policy if you'd like more information on our use of cookies.