Skip to content

Instantly share code, notes, and snippets.

@frankmeeuwsen
Created November 13, 2021 08:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frankmeeuwsen/12c724427ee2e2b9593428e749c67050 to your computer and use it in GitHub Desktop.
Save frankmeeuwsen/12c724427ee2e2b9593428e749c67050 to your computer and use it in GitHub Desktop.
Get URL based on date and time
GetURL
var d = op.attributes.getOne("created");
dialog.alert (string.formatDate (d, "%Y/%m/%d/%H%M%S.html") + ".");
var makeURL = "http://oldschool.scripting.com/frankmeeuwsen/"+string.formatDate (d, "%Y/%m/%d/%H%M%S.html");
webBrowser.openUrl (makeURL)
console.log (makeURL)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment