User Tools

Site Tools


Dates_and_Times

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
Dates_and_Times [2017/03/05 22:34]
peternlewis [Forum]
Dates_and_Times [2017/06/09 19:09]
JMichaelTX Add example using KM Variables
Line 7: Line 7:
  
 ===== Examples ===== ===== Examples =====
 +==== 1. Get Current Date/Time ====
 +
  
 The most commonly used token is for returning the current date/time in the format you like: The most commonly used token is for returning the current date/time in the format you like:
Line 14: Line 16:
 For example, using the [[action:​Set_Variable_to_Text|Set Variable to Text]] Action:​\\ ​ For example, using the [[action:​Set_Variable_to_Text|Set Variable to Text]] Action:​\\ ​
 {{:​km7-set-var-to-date.png|}} {{:​km7-set-var-to-date.png|}}
 +
 +==== 2. Add Time to Date ====
 +This example adds days to the current date using a Keyboard Maestro Variable. ​ See below for other options.{{:​add-days-current-date-km-7.3.png?​nolink|}}
 +
 +For more info see this Forum post:  [[https://​forum.keyboardmaestro.com/​t/​enter-todays-date-a-certain-number-of-days/​7211/​2?​u=jmichaeltx | Instructions to Setup Macro to Add Days to Date]]
 +
 +---
 +
  
  
Dates_and_Times.txt ยท Last modified: 2023/06/20 02:44 by peternlewis