How to Get Start of Any Minute on Shortcuts
Continuing on from last week’s attempt to make “Get Start of X-Minute” on Shortcuts, instead of making multiple shortcuts, I thought it would be best to make one that can be reused: start of 5-min, 10, 15, 20, 30, just about anything.
- Download the shortcut through the link.
- The shortcut takes a dictionary value of date and minute denominator. For example:
{"date": "Jun 29 2026 10:23", "min": 10} would return Jun 29 2026 10:20.
- (opt.) For ease of use, I recommend making another shortcut that will wrap the date in quotes and package the min variable into a dictionary. The one in the link is set to 10-minute.
Though I normally don’t recommend nesting the shortcut, as the overhead could cause an automated frontend shortcut to fail, it’s simple enough so it won’t matter. I think it’s also better for maintenance to keep the core functions separate (i.e. cutting it by 10-minute or 15-minute still uses the same core).
