The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Hello, fellow Canvas people,
I've successfully developed a user script that allows you to set a default due date time in the Canvas assignment due date input field. Essentially, it adds a button right beneath the input field where you use a different "date picker" menu and it adds the time you set within the script.
If you are a Canvas Admin, you can add this code to your Javascript file for your institution so that it will work for all of your teachers.
Here's how to use it:
Step 1: Install Tampermonkey Chrome Extension or Install Firefox Chrome Extension
Step 2: Click this URL to install the "default time" script with Tampermonkey: https://github.com/creanlutheran/canvas-scripts/raw/main/set-default-due-time-v1.0.user.js (code is updated to include suggestions for improvement by James Jones -- thank you, @James !)
Step 3: After installing the script, modify the script to choose the due date time(s) you want! (screenshots below)
Step 4: Test it out!
Go to a Canvas assignment, quiz, or discussion edit page, and the buttons should appear right underneath the normal due date input field. Refresh the page if you don't see it appear.
Disclaimer: I am a novice programmer and would appreciate any suggestions/improvements to make this better!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
An amazing Instructure Community member!
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in