Created
October 6, 2022 17:53
-
-
Save dannetstudio/c20b571023ace6294db3a9312eca50d7 to your computer and use it in GitHub Desktop.
Laravel timezone javascript moment example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/moment-timezone/0.5.33/moment-timezone-with-data.min.js"></script> | |
| <script> | |
| $(document).ready(function() { | |
| console.log(moment.tz.guess()); | |
| }); | |
| </script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment