Forum Discussion

miles's avatar
miles
Director
7 years ago

Getting local time from client for a welcome message

We are looking to build a custom component in our community that uses the users system time or timezone to display a customised message. eg if it is morning for the user based on their system time w...
  • luk's avatar
    7 years ago

    I would say your best shot is JavaScript that runs in the browser (client) of your user and is therefore the most reliable source we have to determine the users local time.