iPhone iOS 13 Shortcut Automation to insert Date-Time stamp into Notes

For many years we were using a free  Time Stamp Text APP to insert current date and time stamp from clipboard (CB). Something happened to this simple APP and it is no longer available in the Apple store.

For over 3 months I had to type the date and time manually loosing 10 seconds or so on every new Notes entry.  – Unacceptable.

Finally, I’ve learned that iPhone iOS 13.1 has new feature Shortcuts that facilitates automation.  And these Shortcuts did not disappoint.

Here is a plan for the shortcut actions and attaching that shortcut to Notes automation procedure:

 – every time we go to Notes, system should open the latest note and store current date and time stamp in the clipboard so that we can paste it into a desired spot in the note.

Here are the implementation details       

 

First we create a shortcut “Send Timestamp to Clipboard” that has 3 actions:

 

 – ACTION 1 – place current date and time into a Date variable

 

– ACTION 2 – format Date string to required personal standard (“EEE” in  format string means Day-of the-week, for example Mon, Tue, Wed etc.)

 

– ACTION 3 – Place Formatted Date into clipboard

 

We will call this shortcut from Notes automation procedure later 

Next, we will “code” actions required for Time and Date paste automation for Notes.

 

We will create a Personal automation for an event <<When “Notes” opened>>.  It will consist of 6 actions

Details of first 3 actions displayed in the image to right:

 

– store current Clipboard content into a variable StoreClipboard.

 

 – execute (or run) previously created shortcut “Send Timestamp to Clipboard” to fill CB with properly formatted Date and Time stamp.

 

 – open latest note by searching All Notes by latest creation date and limiting result by one note only.

And the final 3 steps.

– open (or show) the latest note that was found

 

– wait 7 seconds for user in paste the Date Time stamp into the note

 

– restore original CB contend from variable StoreClipboard.

This solution works great.  Not additional third party downloads are required, and 7 seconds appears to be a very good compromise between waiting and scrambling to paste the date.  Besides, if you missed the  opportunity to paste the date, you can always switch out and back into the Notes to have the fresh Date Time stamp in your CB for another 7 seconds.

Ideas and questions for further refinement:

 – Is it possible to distinguish when Notes were opened and when user just switched to Notes from other APP(s)?

 – How can I manipulate (compare, truncate, search  by)  portions of the strings stored in variables?

Your input is appreciated.

(Visited 365 times, 12 visits today)

3 Comments

  1. Hi Larry,
    We did not find a way to paste clipboard content at a current location. If you do, please let us know.
    Thank you for your comment.

  2. Is it possible for an action to “Paste” clipboard into the newly opened App? For example, I open an app that gives me a new / empty note (FastEver). I want to paste that Date / Time into the app at the current location.

    Thank you

  3. Thank you so much.
    For recording daily expense I have used several iphone apps , but nothing is good enough.
    I decided to use Excel , actually excel is perfect app for expense recording. But a blocking problem is how to put date and time of this moment. Ctrl + ; is not possible at mobile phone. I was almost give up.
    But your method resolve my issue perfectly.
    Thank you again. Bye.

Your question, correction or clarification Ваш вопрос, поправка или уточнение

Editor on duty will review your comment. Can't wait? Discuss your topic right now in forums, if you register and login.     Required fields are marked with * Ваше послание пойдет на просмотр в редакцию. Не можете ждать? Обсудите ваш вопрос прямо сейчас в форуме Русский Круг , ecли вы зарегистрируетесь и войдёте под своим именем.     Поля, обязательные для заполнения, помечены *
* *