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

    Enhancing Business Efficiency: Professional Salesforce Integration Services

    Blog in Salesforce integration

    Salesforce integration services aim to enable seamless connections between Salesforce solutions and your other business-critical systems. In today's fast-paced digital landscape, businesses strive to optimize their operations, maximize productivity,…

    Business Efficiency, Business Performance, Business Systems, Cloud Based CRM, Comprehensive Support
    Infodriven May 28, 2024
    568  Views
    manual sharing using apex

    Manual Sharing Using Apex in Salesforce - Best Practices

    Blog in Salesforce Apex

    Apex Managed Sharing Sharing rules, they enable us to make exceptions to organization wide defaults for certain users as per our requirement.We cannot make give…

    custom object, Forcedotcom, Managed Sharing, Manual Sharing, Manual Sharing Using Apex
    Shubham Mar 27, 2020
    17,986  Views
    Apex Basics

    Apex Basics and Database | Salesforce Apex Tutorial Guide

    Blog in Salesforce Apex

    In this blog we’ll learn about Apex, Apex features, Features not supported by Apex, when to use Apex, Flows of Action, Apex Environments, and Tools…

    Apex Platform, Built-in Support, Business Logic, Code in Apex, Database
    Tanya Joshi May 6, 2022
    4,519  Views

    Popular Salesforce Videos

    How to Create a New User in Salesforce Marketing Cloud

    How to Create a New User in Salesforce Marketing Cloud

    Video in Salesforce Training

    Cameron Robert steps through how to Create a New User in Salesforce Marketing Cloud and then assigns them Roles and Associates them with Business Units. Key…

    Salesforce Training, salesforce, Salesforce Marketing Cloud, Salesforce Video, Salesforce Learning
    Cameron Aug 8, 2022
    2,510  Views
    How to Enable the New Pardot Email Builder | Salesforce Pardot

    How to Enable the New Pardot Email Builder | Salesforce Pardot

    Video in Salesforce Products

    Learn how to set up the new Email Builder for Pardot and set up Salesforce CMS for email content storage. Watch this video and do…

    Salesforce Training, Salesforce Tutorial, Salesforce Video, Salesforce Learning, Pardot
    Rupal Kakkar Dec 15, 2021
    2,646  Views
    Wildcards in SOSL | Clauses in SOSL | Learn Salesforce Development

    Wildcards in SOSL | Clauses in SOSL | Learn Salesforce Development

    Video in Salesforce Training

    In this video, Shrey covered Wildcards in SOSL in Salesforce. And also you will learn: What are the different Wildcards in SOSL? What are Clauses…

    Salesforce Training, Salesforce Tutorial, Salesforce Development, Learn Salesforce Development, SOSL
    S2 Apr 12, 2022
    2,021  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.