Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10170
    netsking
    Participant

    Hi, there,

    Is it possible to insert current time only instead of “time and date” or “date and time”?

    Thanks a lot in advance.

    #10175
    Yutaka Emura
    Keymaster

    Hello,

    You can use a macro like this:


    var today = new Date()
    document.selection.Text = today.toLocaleTimeString();

    Thanks!

    #10178
    netsking
    Participant

    Yutaka,

    Thanks a lot for your quick answer.
    I got it. Now I can insert only time with shortcut keyboard as “Shift+Ctrl+p”.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.