Difference between revisions of "Mu datetime julianday"
From Mailutils
Jump to navigationJump to search (Created page with "{{DISPLAYTITLE:mu_datetime_julianday}} <syntaxhighlight lang="C"> #include <mailutils/datetime.h> int mu_datetime_julianday (int year, int month, int day); </syntaxhighlight> ...") |
|||
Line 7: | Line 7: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
− | The function <tt>mu_datetime_julianday</tt> computes the [http://en.wikipedia.org/wiki/Julian_day | + | The function <tt>mu_datetime_julianday</tt> computes the [http://en.wikipedia.org/wiki/Julian_day Julian day] corresponding to the given date. Both <tt>month</tt> and <tt>day</tt> start with 1. |
== See also == | == See also == |
Revision as of 10:59, 17 December 2011
#include <mailutils/datetime.h>
int mu_datetime_julianday (int year, int month, int day);
The function mu_datetime_julianday computes the Julian day corresponding to the given date. Both month and day start with 1.