aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

§ 4.153 - [ddelta] Built-In

Mnemonic aid: ddelta for Date DELTA

See also:  [date] 

Returns the years, months and days difference between the two dates:


[ddelta YYYYMMDD YYYYMMDD]

[ddelta 20180620 20180621]

0 0 1
0 0 1
Note: The values here are figured based upon 365.25 days per year; that's not quite the same as the way we round date differences. For instance, even if a leap year intervenes, we would usually consider 20040606 and 20050606 to be exactly one year apart, and by that, we usually mean 365 days. But they aren't. And really, it's worse than that, because the actual length of a year is 365.242190 days. So consider this a close approximation.
Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses Python 2.7