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

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