Reply To: How to add a date in MATH, Translation Configurator?

Homepage Clovertech Forums Read Only Archives Cloverleaf Cloverleaf How to add a date in MATH, Translation Configurator? Reply To: How to add a date in MATH, Translation Configurator?

#57004
Charlie Bursell
Participant

You can’t do standard math on a date.  Standard math uses Base 10, 8, or 16.  Date math uses difefrent bases for month, day, tear, etc.

Use the Date math function with the clock command.  for example:

set dt 20050712

set tomorrow [clock format [clock scan “$dt tomorrow”] -format %Y%m%d]

echo $tomorrow  == 20050713

Charlie

Forum Statistics

Registered Users
5,117
Forums
28
Topics
9,292
Replies
34,435
Topic Tags
286
Empty Topic Tags
10