So, here follows something I've found. I saw the Book of Toth on the Books section, so I thought this may be of interest to some of you.
(
http://www.timeanddate.com/date/duration.html )
***
( days between end date and target date ) / scale
If:
endyear = 2012
endday = 21
endmonth = 12
Then the remainder of this division is the number of the target date’s
hexagram on the King Wen sequence.
Therefore, the remainder of this division also reveals the target
date’s trump and the target date’s aminoacid (
http://www.bibliotecaple...eticcode/ichin_table.htm).
If the remainder equals zero, then the target’s date hexagram is hexagram 64.
This will work if the scale equals
64 days x 6 = 384 days = 1 lunar year
or
64 days x 6 x 64 = 6 minor sunspot cycles
or
64 days x 6 x 64 x 64 = 2 zodiacal ages
or
64 days x 6 x 64 x 64 x 6 = 1 complete precession of equinoxes
or
64 days x 6 x 64 x 64 x 6 x 64
or
64 days x 6 x 64 x 64 x 6 x 64 x 64
or
64 days x 6 x 64 x 64 x 6 x 64 x 64 x 6
or
64 days x 6 x 64 x 64 x 6 x 64 x 64 x 6 x 64
or
…
Alternatively, this will work if the scale equals
64 days
or
1 day
or
1 day / 64
or
( 1 day / 64 ) / 6
or
(( 1 day / 64 ) / 6) / 64
or
((( 1 day / 64 ) / 6) / 64) / 64
or
(((( 1 day / 64 ) / 6) / 64) / 64 ) / 6
or
…
Note 0: if your scale is “1 day” that means “every day is Before
Completion, that is, before the end date.”
Note 1: for scale values below 1 day you must turn ( days between end
date and target date ) into ( 1/64 day chunks between end moment and
target moment ) or ( (1/64)/6 day chunks between end moment and target
moment ) or etc..
The “end moment” for our calculations is 21/12/12, 11:11 am (universal time).
Note 2: scale values different from 64 may get a remainder above 64.
Then divide this remainder by a new scale in which the remainder will
fall below 64, and this will be your target’s hexagram for that scale.
Note 3: If your scale is larger than the distance between the target
and the end, the target’s hexagram is 64 ( for that scale ).