I need to add the Luxon library to my google sheet script. Where do I find the ID of the Luxon library, or are there other ways?
Thank you
I need to add the Luxon library to my google sheet script. Where do I find the ID of the Luxon library, or are there other ways?
Thank you
Copyright © 2021 Jogjafile Inc.
It seems that Luxon can be also used with CDN. Ref When
https://cdnjs.cloudflare.com/ajax/libs/luxon/3.4.4/luxon.min.jsis used, how about the following sample script?Pattern 1:
In this pattern, the script of Luxon is used by copying to the script editor.
Please access
https://cdnjs.cloudflare.com/ajax/libs/luxon/3.4.4/luxon.min.jswith your browser.Copy and paste the script from the URL to the script editor of Google Apps Script.
When the following sample script is used, a result like
2024-03-31T09:45:27.040+09:00is obtained.Pattern 2:
In this pattern, the script of Luxon is loaded when the script is run.
When the following sample script is used, a result like
2024-03-31T09:45:27.040+09:00is obtained.Note: