Numbers insert time (Static)
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Numbers
version 5.3 (5989)
I am trying to create a log where I need to enter date and time of each entry.
When I use the "insert Date and Time" the date is correct, but no time is shown... when I go to the format menu to change the time format - the time is set to midnight?
date and time insert defaults to: Tuesday, January 29, 2019
Manually changed format gives: Tuesday, January 29, 2019 0:00:00
Can I change the default settings for "Insert Date and time"?
functions seem to constantly update... I need the date and time stamp to remain static.
= now , and = now() both seem to update
I have searched many strings and can't seem to find a better solution than just to manually type in the date and time.
17 replies
Sign in or join Beachball Help to reply.
- 0
Wayne Contello ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
you can enter the formula:
=now()
then select the cell where you entered that formula, copy, then paste using the menu item "Edit > Paste Formula Results"
copy = <command> + c
Paste Formula Results = <command> + <shift> + v
IF you do this often, you can keep one cell with the formula, then select, copy, select destination, paste formula result
- 0
SGIII ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
You can insert date and time with this Today Automator Service (Dropbox download).
Installing takes less than a minute. Double-click the downloaded .workflow package and if necessary give permission at System Preferences > Security & Privacy. Also make sure Automator.app is listed and checked at System Preferences > Security & Privacy > Privacy > Accessibility. Today will now appear in the Numbers > Services menu.
If you want you can attach it to a keyboard shortcut at System Preferences > Keyboard > Shortcuts > Services (scroll until you see Today and enter the key combination you want to its right: shift-command-T works well on my system).
To use just click once in a Numbers cell and type the keyboard shortcut (or choose Numbers > Services > Today from the menu).
If you prefer your service to be named Time Stamp instead, then you can download this Time Stamp Automator Service instead. It does the same thing.
SG
- 0
Wayne Contello ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
you can enter the formula:
=now()
then select the cell where you entered that formula, copy, then paste using the menu item "Edit > Paste Formula Results"
copy = <command> + c
Paste Formula Results = <command> + <shift> + v
IF you do this often, you can keep one cell with the formula, then select, copy, select destination, paste formula result
- 0
SGIII ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
You can insert date and time with this Today Automator Service (Dropbox download).
Installing takes less than a minute. Double-click the downloaded .workflow package and if necessary give permission at System Preferences > Security & Privacy. Also make sure Automator.app is listed and checked at System Preferences > Security & Privacy > Privacy > Accessibility. Today will now appear in the Numbers > Services menu.
If you want you can attach it to a keyboard shortcut at System Preferences > Keyboard > Shortcuts > Services (scroll until you see Today and enter the key combination you want to its right: shift-command-T works well on my system).
To use just click once in a Numbers cell and type the keyboard shortcut (or choose Numbers > Services > Today from the menu).
If you prefer your service to be named Time Stamp instead, then you can download this Time Stamp Automator Service instead. It does the same thing.
SG
- 0
Barry ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi James,
The 'official' method of inserting a Date, Time, or Date and Time stamp is this:
- Click the cell where you want the stamp.
- Click the cell a second time to place the insertion point in the cell.
- Go Insert (menu) > Date and Time OR press command-semi colon.
Your result will be as shown in the upper cell of the example below.
If you want Date and Time, or Time only, continue immediately to the next step.
- Click on the cell again to open the menu shown in the lower example on the table above.
- For Date and Time, choose the bottom item on that menu (highlighted).
Your result will be as shown in the lower example in the table below:
Regards,
Barry
PS: "Official" is neither a synonym not an antonym for "Best"
B
- 0
SGIII ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi Barry,
Is command-; a keyboard shortcut you've added?
SG
- 0
Barry ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi SG,
Checked in System Prefs, and I suspect it is one I've added.
Good catch!
Note the lack of a checkbox beside the list item:
Regards,
Barry
- 0
Wayne Contello ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
<command>+ ';' does not work for me. It does seem to change sheets though
- 0
SGIII ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Command ; for me is this:
That seems to be the original "official" usage:
Too many shortcuts to keep track of. So it can be hard to find one to assign to an Automator Service. Shift-command-T works on my machine for 'Time Stamp' and 'Today', though.
SG
- 0
JamesBeyersdorf ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
This seems to work but I have many pages that I do this on... seems i have to set up a reference on every page?
- 0
JamesBeyersdorf ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
seems like a great solution but I get the following error...
The action “Run AppleScript” encountered an error: “System Events got an error: com.automator.runner.xpc is not allowed to send keystrokes.”
- 0
JamesBeyersdorf ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks, Barry. Unfortunately when I do this, the time seems to update continuously instead of being a "time stamp" as I was hoping for.
- 0
JamesBeyersdorf ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi SG,
So I figured out what my issue was (I didn't give numbers permission somewhere... I fixed that.
This works. as long as I asm searching for everything that fits what I want... .
is there anyway to default the format to date and time instead of just the date and then the secondary step of the dropdown menu to change the format?
- 0
Barry ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
@SG
Checked the iMac, and found command-; (and command-:) in Numbers's Edit > Spelling and Grammar submenu.
command-: Show Spelling and Grammar
command-; Check Document Now
On my MBPro, Show Spelling and Grammar had the command-: shortcut, but there was no shortcut listed for Check Document Now.
Apparently it was a shortcut I had assigned long ago and migrated forward, possibly during an earlier discussion of the same question.
Regards,
Barry
PS: Your "Today" service is also on my MBP, probably installed around the time of that discussion.
It works well (OS X 10.11.6), and has the shift-command-T shortcut assigned.
B.
- 0
Barry ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
"is there anyway to default the format to date and time instead of just the date and then the secondary step of the dropdown menu to change the format?"
Set the cell's Data Format to Date & Time, with the Date and Time parts formatted as you wish.
The Today service inserts a standard date and time string, which the cell displays using the formatting you have set for that cell.
Here are three examples. The top cell was set to 'Automatic', the second (selected) as shown in the Inspector, and the third to Date & Time, 05 Jan 2019, 19:08.
If I did more time stamps, this is the tool I would be using.
Regards,
Barry
- 0
JamesBeyersdorf ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks to everyone for helping with this.
I did not seem to have the Service "Today" without the download from SG, and couldn't get the field formatting correct.
Strangely it correctly formats when I go to Numbers > services > Time.
However, if I use the shortcut, the format reverts to the automatic settings (no matter my cell formatting)
- 0
Barry ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
"Thanks, Barry. Unfortunately when I do this, the time seems to update continuously instead of being a "time stamp" as I was hoping for."
If "I do this" means using the Insert > Date & Time menu, the inserted D&T should remain the same until you change it. Repeating the actions with the same cell will change its contents, but left alone, there should be no updating.
In the example below, cells in Column B containing a Date and Time value were set at the time shown. Immediately after inserting that date and time, a formula using only the NOW function was entered in the adjacent cell in Column C. The initial value in that cell was the same as the value in column B.
The two cells containing labels were entered from the keyboard between 10:23:01 and 10:23:59 AM. The screenshot was captured at 10:24:00.
As can be seen, the inserted values are fixed, those calculated by NOW are refreshed each time the table is edited.
(Values determined by the Automator services suggested by SGIII are also 'inserted', and remain fixed until/unless the service is applied again to the same cell at a different time—just as they would be if you typed the data in on both occasions.)
Regards,
Barry