Automatic insertion of current date and time in alphabetic form
I often find myself typing the current date and time on several documents, forms, etc.
Is there any lightweight application that would allow me to automatically insert (or copy to the clipboard) the current date and time (in alphabetical form, if possible) using just a simple keyboard shortcut? I'm interested in solutions for Windows.
windows-7 time
add a comment |
I often find myself typing the current date and time on several documents, forms, etc.
Is there any lightweight application that would allow me to automatically insert (or copy to the clipboard) the current date and time (in alphabetical form, if possible) using just a simple keyboard shortcut? I'm interested in solutions for Windows.
windows-7 time
add a comment |
I often find myself typing the current date and time on several documents, forms, etc.
Is there any lightweight application that would allow me to automatically insert (or copy to the clipboard) the current date and time (in alphabetical form, if possible) using just a simple keyboard shortcut? I'm interested in solutions for Windows.
windows-7 time
I often find myself typing the current date and time on several documents, forms, etc.
Is there any lightweight application that would allow me to automatically insert (or copy to the clipboard) the current date and time (in alphabetical form, if possible) using just a simple keyboard shortcut? I'm interested in solutions for Windows.
windows-7 time
windows-7 time
edited Feb 3 '11 at 0:08
Amelio Vazquez-Reina
asked Feb 2 '11 at 23:49
Amelio Vazquez-ReinaAmelio Vazquez-Reina
2,706165174
2,706165174
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
You could do it using AutoHotkey.
An example from the AutoHotkey documentation:
:*:]d:: ; This hotstring replaces "]d" with the current date and time via the commands below.
FormatTime, CurrentDateTime,, M/d/yyyy h:mm tt ; It will look like 9/1/2005 3:53 PM
SendInput %CurrentDateTime%
return
An example from the AutoHotkey forum: Input system date and/or time, when u press a hot key:
$F12::
SetTitleMatchMode, 2
IfWinActive, Notepad
{
FormatTime, xx,, ddMMMyy ; This is one type of the date format
FormatTime, zz,, hh:mm:ss tt ; This is one type of the time format
SendInput, %xx%{Enter}
SendInput, %zz%
}
Return
See FormatTime for a list of the available date formats.
To set it up:
- Download and install AutoHotkey_L, let it associate with .ahk files
- Copy either of the above examples, paste in into Notepad, and save somewhere with an
.ahk
extension, e.g. My Documents/keys.ahk - Navigate to the file you saved and double click it
- Add the .ahk script to your Startup folder
Thanks! I'm not very familiar with AutoHotkey, but I'll look into it. From the top of your head, is there any easy way to change the code above to print the month in alphabetical form ? e.g. February 2nd, 7:04pm
– Amelio Vazquez-Reina
Feb 3 '11 at 0:05
1
MMM
for short month orMMMM
for full month. See autohotkey.com/docs/commands/FormatTime.htm
– Mikel
Feb 3 '11 at 0:18
add a comment |
Short of just copying and pasting it to your documents, there is a feature to do that on Microsoft Word.
add a comment |
Phraseexpress will do it and a lot more.
https://www.phraseexpress.com/
They have a free version which is What I use.
Make a phrase with
{#date} {#datetime -f tt}
I use ctrl alt t for a hotkey.
Pastes it anywhere on computer.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f241050%2fautomatic-insertion-of-current-date-and-time-in-alphabetic-form%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
3 Answers
3
active
oldest
votes
3 Answers
3
active
oldest
votes
active
oldest
votes
active
oldest
votes
You could do it using AutoHotkey.
An example from the AutoHotkey documentation:
:*:]d:: ; This hotstring replaces "]d" with the current date and time via the commands below.
FormatTime, CurrentDateTime,, M/d/yyyy h:mm tt ; It will look like 9/1/2005 3:53 PM
SendInput %CurrentDateTime%
return
An example from the AutoHotkey forum: Input system date and/or time, when u press a hot key:
$F12::
SetTitleMatchMode, 2
IfWinActive, Notepad
{
FormatTime, xx,, ddMMMyy ; This is one type of the date format
FormatTime, zz,, hh:mm:ss tt ; This is one type of the time format
SendInput, %xx%{Enter}
SendInput, %zz%
}
Return
See FormatTime for a list of the available date formats.
To set it up:
- Download and install AutoHotkey_L, let it associate with .ahk files
- Copy either of the above examples, paste in into Notepad, and save somewhere with an
.ahk
extension, e.g. My Documents/keys.ahk - Navigate to the file you saved and double click it
- Add the .ahk script to your Startup folder
Thanks! I'm not very familiar with AutoHotkey, but I'll look into it. From the top of your head, is there any easy way to change the code above to print the month in alphabetical form ? e.g. February 2nd, 7:04pm
– Amelio Vazquez-Reina
Feb 3 '11 at 0:05
1
MMM
for short month orMMMM
for full month. See autohotkey.com/docs/commands/FormatTime.htm
– Mikel
Feb 3 '11 at 0:18
add a comment |
You could do it using AutoHotkey.
An example from the AutoHotkey documentation:
:*:]d:: ; This hotstring replaces "]d" with the current date and time via the commands below.
FormatTime, CurrentDateTime,, M/d/yyyy h:mm tt ; It will look like 9/1/2005 3:53 PM
SendInput %CurrentDateTime%
return
An example from the AutoHotkey forum: Input system date and/or time, when u press a hot key:
$F12::
SetTitleMatchMode, 2
IfWinActive, Notepad
{
FormatTime, xx,, ddMMMyy ; This is one type of the date format
FormatTime, zz,, hh:mm:ss tt ; This is one type of the time format
SendInput, %xx%{Enter}
SendInput, %zz%
}
Return
See FormatTime for a list of the available date formats.
To set it up:
- Download and install AutoHotkey_L, let it associate with .ahk files
- Copy either of the above examples, paste in into Notepad, and save somewhere with an
.ahk
extension, e.g. My Documents/keys.ahk - Navigate to the file you saved and double click it
- Add the .ahk script to your Startup folder
Thanks! I'm not very familiar with AutoHotkey, but I'll look into it. From the top of your head, is there any easy way to change the code above to print the month in alphabetical form ? e.g. February 2nd, 7:04pm
– Amelio Vazquez-Reina
Feb 3 '11 at 0:05
1
MMM
for short month orMMMM
for full month. See autohotkey.com/docs/commands/FormatTime.htm
– Mikel
Feb 3 '11 at 0:18
add a comment |
You could do it using AutoHotkey.
An example from the AutoHotkey documentation:
:*:]d:: ; This hotstring replaces "]d" with the current date and time via the commands below.
FormatTime, CurrentDateTime,, M/d/yyyy h:mm tt ; It will look like 9/1/2005 3:53 PM
SendInput %CurrentDateTime%
return
An example from the AutoHotkey forum: Input system date and/or time, when u press a hot key:
$F12::
SetTitleMatchMode, 2
IfWinActive, Notepad
{
FormatTime, xx,, ddMMMyy ; This is one type of the date format
FormatTime, zz,, hh:mm:ss tt ; This is one type of the time format
SendInput, %xx%{Enter}
SendInput, %zz%
}
Return
See FormatTime for a list of the available date formats.
To set it up:
- Download and install AutoHotkey_L, let it associate with .ahk files
- Copy either of the above examples, paste in into Notepad, and save somewhere with an
.ahk
extension, e.g. My Documents/keys.ahk - Navigate to the file you saved and double click it
- Add the .ahk script to your Startup folder
You could do it using AutoHotkey.
An example from the AutoHotkey documentation:
:*:]d:: ; This hotstring replaces "]d" with the current date and time via the commands below.
FormatTime, CurrentDateTime,, M/d/yyyy h:mm tt ; It will look like 9/1/2005 3:53 PM
SendInput %CurrentDateTime%
return
An example from the AutoHotkey forum: Input system date and/or time, when u press a hot key:
$F12::
SetTitleMatchMode, 2
IfWinActive, Notepad
{
FormatTime, xx,, ddMMMyy ; This is one type of the date format
FormatTime, zz,, hh:mm:ss tt ; This is one type of the time format
SendInput, %xx%{Enter}
SendInput, %zz%
}
Return
See FormatTime for a list of the available date formats.
To set it up:
- Download and install AutoHotkey_L, let it associate with .ahk files
- Copy either of the above examples, paste in into Notepad, and save somewhere with an
.ahk
extension, e.g. My Documents/keys.ahk - Navigate to the file you saved and double click it
- Add the .ahk script to your Startup folder
edited Feb 3 '11 at 0:17
answered Feb 2 '11 at 23:55
MikelMikel
7,54913434
7,54913434
Thanks! I'm not very familiar with AutoHotkey, but I'll look into it. From the top of your head, is there any easy way to change the code above to print the month in alphabetical form ? e.g. February 2nd, 7:04pm
– Amelio Vazquez-Reina
Feb 3 '11 at 0:05
1
MMM
for short month orMMMM
for full month. See autohotkey.com/docs/commands/FormatTime.htm
– Mikel
Feb 3 '11 at 0:18
add a comment |
Thanks! I'm not very familiar with AutoHotkey, but I'll look into it. From the top of your head, is there any easy way to change the code above to print the month in alphabetical form ? e.g. February 2nd, 7:04pm
– Amelio Vazquez-Reina
Feb 3 '11 at 0:05
1
MMM
for short month orMMMM
for full month. See autohotkey.com/docs/commands/FormatTime.htm
– Mikel
Feb 3 '11 at 0:18
Thanks! I'm not very familiar with AutoHotkey, but I'll look into it. From the top of your head, is there any easy way to change the code above to print the month in alphabetical form ? e.g. February 2nd, 7:04pm
– Amelio Vazquez-Reina
Feb 3 '11 at 0:05
Thanks! I'm not very familiar with AutoHotkey, but I'll look into it. From the top of your head, is there any easy way to change the code above to print the month in alphabetical form ? e.g. February 2nd, 7:04pm
– Amelio Vazquez-Reina
Feb 3 '11 at 0:05
1
1
MMM
for short month or MMMM
for full month. See autohotkey.com/docs/commands/FormatTime.htm– Mikel
Feb 3 '11 at 0:18
MMM
for short month or MMMM
for full month. See autohotkey.com/docs/commands/FormatTime.htm– Mikel
Feb 3 '11 at 0:18
add a comment |
Short of just copying and pasting it to your documents, there is a feature to do that on Microsoft Word.
add a comment |
Short of just copying and pasting it to your documents, there is a feature to do that on Microsoft Word.
add a comment |
Short of just copying and pasting it to your documents, there is a feature to do that on Microsoft Word.
Short of just copying and pasting it to your documents, there is a feature to do that on Microsoft Word.
answered Feb 2 '11 at 23:55
w7prow7pro
69432
69432
add a comment |
add a comment |
Phraseexpress will do it and a lot more.
https://www.phraseexpress.com/
They have a free version which is What I use.
Make a phrase with
{#date} {#datetime -f tt}
I use ctrl alt t for a hotkey.
Pastes it anywhere on computer.
add a comment |
Phraseexpress will do it and a lot more.
https://www.phraseexpress.com/
They have a free version which is What I use.
Make a phrase with
{#date} {#datetime -f tt}
I use ctrl alt t for a hotkey.
Pastes it anywhere on computer.
add a comment |
Phraseexpress will do it and a lot more.
https://www.phraseexpress.com/
They have a free version which is What I use.
Make a phrase with
{#date} {#datetime -f tt}
I use ctrl alt t for a hotkey.
Pastes it anywhere on computer.
Phraseexpress will do it and a lot more.
https://www.phraseexpress.com/
They have a free version which is What I use.
Make a phrase with
{#date} {#datetime -f tt}
I use ctrl alt t for a hotkey.
Pastes it anywhere on computer.
answered Feb 7 at 21:48
gulllywallergulllywaller
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f241050%2fautomatic-insertion-of-current-date-and-time-in-alphabetic-form%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown