%j[argument]
special text
%j[[-]n]
references the current respectively
queried Julian day number relative to the actual system date
(==today). This day number is tied with the date 1st January 4713 BCE
--- which is the starting day zero of a consecutive day counting used
in astronomical computations -- and is known as the Julian Date (J.D.).
The real zero of this date is at 12 o'clock universal time; the day doesn't
change at midnight, but at noon universal time. Currently, Gcal does not
evaluate the time zone returned by the systems date function. For that reason,
this day number is represented without a time fraction on the supposition
that the day has already changed at noon. If you don't like the feature
that the day has already changed at noon, you can decrease the resulting
Julian day number of that special text always by one, e.g. `%j-1'.
For example:
The resource file line `0 Julian day %j since 01-Jan-4713 BCE' will be expanded to
==> `Julian day 2437929 since 01-Jan-4713 BCE', in case you call Gcal with the `-c %19620921' option and no command.
If the %j
text is directly trailed by a number, this number is always
subtracted from the real Julian day number (77), so you are able to
work with any reference values, e.g.:
The resource file line `0 Julian day %j-2415021 since 01-Jan-1900' will be expanded to
==> `Julian day 4 since 01-Jan-1900', in case you call Gcal with the `-c %19000105' option and no command.
Go to the first, previous, next, last section, table of contents.