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
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:32]
JMichaelTX
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 Topic: ​ [Add Time to Current Date @Example](https://​forum.keyboardmaestro.com/​t/​date-add-time-to-current-date-example/​7213),​ which provides instructions and a complete macro.
 +
 +---
 +
  
  
Dates_and_Times.txt ยท Last modified: 2023/06/20 02:44 by peternlewis