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

    Mailchimp salesforce integration

    MailChimp Salesforce Integration - All You Need to Know

    Blog in Data Migration, Salesforce integration

    ChimpConnect deals with Salesforce Integration with Mailchimp. It is acting as a bridge between Salesforce and Mailchimp. With the help of this Application, Users can…

    App Menu, AppExchange Apps, AppExchnage, Application at the Mailchimp, Campaigns
    Deepika Aug 24, 2020
    3,791  Views
    Salesforce Ecosystem

    Understanding the Salesforce Ecosystem: A Complete Platform for Customer Success

    Blog in Salesforce

    Popularly known as the world’s number one customer relationship management (CRM) platform – Salesforce is entirely cloud-based, with standalone applications for sales, customer service, and…

    Automated Response Workflows, Business, Business Application, Business Aspects, Business Functions
    Softweb Mar 15, 2021
    2,966  Views

    Integrating and Automating B2B Sales Workflows with Custom Salesforce Integrations

    Blog in Salesforce

    When you think about the complex world of B2B sales, it’s clear that there are a lot of moving parts. Sales teams juggle multiple tasks—from…

    Amit Kumar Jul 22, 2024
    207  Views

    Popular Salesforce Videos

    Salesforce: Advanced 'Change Owner' Control in Flow and Apex

    Salesforce: Advanced 'Change Owner' Control in Flow and Apex

    Video in Salesforce Workflow

    Alex Edelstein explains the Salesforce feature known as the 'Change Owner' Control in Flow and Apex. This video is geared toward those already familiar with…

    Salesforce Training, Salesforce Tutorial, Salesforce Apex, salesforce, Apex
    Mayra Oct 21, 2022
    2,231  Views
    Gear up Marketing Automation with Salesforce Pardot

    Gear up Marketing Automation with Salesforce Pardot

    Video in Marketing, Salesforce Automation

    Salesforce trailblazer Admin group, Nasik with a session on Gear up Marketing Automation with Salesforce Pardot. Pardot is a marketing automation solution that helps companies…

    Salesforce Training, Salesforce Tutorial, salesforce, Marketing Automation, Salesforce Video
    Jogender Jan 7, 2022
    2,523  Views
    Set Up a Microsoft Exchange Service Account to Sync with Salesforce (Using Command Shell)

    Set Up a Microsoft Exchange Service Account to Sync with Salesforce (Using Command Shell)

    Video in Salesforce Integration

    You can sync sales reps’ contacts and events between your Microsoft Exchange-based email and Salesforce using the Salesforce feature Lightning Sync. If you’re an Exchange…

    Salesforce Integration, Salesforce Lightning Experience, Salesforce Microsoft Integration, Microsoft Exchange Service Account Sync with Salesforce, Email Handling
    Jogender Feb 20, 2018
    4,983  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.